The Component Inspector displays the current selection on the Form Designer pane. The lower pane of the Component Inspector displays the properties of the selected component.
If multiple components are selected, their common properties are displayed and property modifications apply to all selected components.
To edit a property in the Component Inspector:
The Property Editor dialog box is displayed, which enables you to modify the property and the initialization code generated for the property.
The first mode in the property editor's Select Mode combo box is a custom editor for the property, if a custom editor is available. For example, the custom editor for the Model property of the JTable component enables you to set the number of table rows and columns, table titles, object types, and default values.
For some properties, more than one custom editor might be available. In this case, all but the last mode in the Select Mode combo box are custom editors. For example, string properties have two custom editors: one for editing the string, and one for editing the resource bundle (for localization).
The last mode of the Select Mode combo box is always the Form Connection property sheet, which you can use to generate code for the property.
To change a property value back to its default:
![]() |
You can also edit text label properties for common components directly in the Form Designer. |
See also | |
---|---|
Editing Component Labels
Component Inspector Modifying Code Generation for a Property |