Modification of CreateAndEditComponent.java