Update ConnectedComponent.java