You can use the visual editor to quickly delete a component
from a Java™ class.
Procedure
- In the Java Beans
view or Design view of the editor, select the component or components
that you want to delete.
- Do one of the following steps:
- Right-click and select Delete from
the pop-up menu.
- Press the Delete key on the keyboard.
- Click the Delete
button on the main
toolbar.
Results
The components that you selected are deleted and removed from
both the Source and the Design views of the visual editor. To undo
your change, you can click , or the Undo

button
on the main toolbar.