To delete a bean using the Visual Editor for Java, do one of the following:
If more than one Java bean is selected, then the Delete key or action will remove all of the selected beans. After deletion, the Java source code that is displayed in the source view of the Visual Editor is updated to reflect the removal of the bean, and the Java Beans view and the Design view are refreshed
Related concepts
Visual Editor for Java
Related tasks
Composing classes visually