The Java Beans view
The Java Beans view of the visual editor for Java shows a tree view of the components, events, and listeners used by the Java class that you are composing.
The Java Beans view is automatically opened each time the visual editor is launched, unless you have changed the preferences.
The selection between the entries in the Java Beans view and the Design view is synchronized both ways. If you select items in the Design view, they are also selected in the Java Beans view. In the Java Beans view, the icon shown for the entry is the same icon used in the palette to represent the component type.
The label for each component in the Java Beans view is the name of the instance variable that is used in the Java code for the component. For some types of components, the label also contains details from the instance itself, for example the text of a button or label.
In addition to using the Java Beans view to see the structure of the existing components, you can use the Java Beans view to manipulate your class. By right-clicking on a component in the Java Beans view, you can access a pop-up menu with available actions. You can also drag components to reorder and nest them.
Note: When you subclass a component such as HelloFrame that subclasses javax.swing.JFrame, a special part called this is shown on the Design view and the Java Beans view. The this element represents the instance of the class itself that is being composed. You cannot delete the this element.
Parent topic
About the visual editor for Java