Update CompoundComponent.java