Deleting components from a Java visual class

You can use the visual editor to quickly delete a component from a Java class.

  1. In the Java Beans view or Design view of the editor, select the component or components that you want to delete.
  2. 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 Delete toolbar button button on the main toolbar.
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 Edit > Undo, or the Undo Undo toolbar button button on the main toolbar.
Related tasks
Adding a component to a Java visual class
Changing component properties in the Properties view
Reordering components in a Java visual class

(C) Copyright IBM Corporation 1999, 2004. All Rights Reserved.