Deleting components from a class
You can use the visual editor to quickly delete a component from a Java class.
- 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 toolbar.
The components that you selected are deleted and removed from both the Source and the Design views of the visual editor. You can click Edit > Undo if you want to undo your change.
Parent topic
Developing Java classes with the visual editor
Related tasks
Adding a component to a class
Changing component properties
Reordering components in a class
Resizing visual components