The Component Inspector contains a tree view of the components on your current form. The tree view can include buttons, menus, layout managers, components created using the Bean Form template, and nonvisual components, such as timers.
The Component Inspector is displayed by default when you are in the GUI editing workspace.
The lower panel of the Component Inspector displays the property sheet for the object selected in the upper pane. The Property Sheet Toolbar lets you choose how to display the properties.
You use the property sheet to examine and adjust properties of your components and layout managers, manage component event handlers, and define how code is generated. The tabs at the bottom of the Component Inspector determine the set of properties displayed.
The difference between the Properties and Other Properties tabs in the Component Inspector is that the Properties tab displays the most commonly used properties. The division of properties between these tabs is determined by the author of the bean whose properties are being displayed, as described in BeanInfo Editor Dialog Box.
When you set or modify the component properties, the changes are reflected in the Form Designer and the generated source code. For example, if you have a JLabel component on your form and and you change its text property, you will see the new text on the label in the Form Designer and in the code in the Source Editor.
See also | |
---|---|
Editing Component Properties
Form Editor Managing Component Events Working With Source Code |