Changing bean properties

A Properties window provides a way to display and set the properties and other options associated with a bean or connection. In addition to bean-specific properties, you can set data validation and layout properties.

Opening the Properties window for a bean

To open the Properties window for a bean, do any of the following:

If you open the Properties window for a bean, you can show the properties of another bean in the window by:

Here is an example of the Properties window for a bean:

tpropwin.gif (4041 bytes)

Bean property names and their values are displayed in a table format. How property values are changed depends on the property type itself. For a JTextField bean, for example, the value of the beanName property is a string and can be changed directly within a cell in the Properties window. Some property values can be changed by selecting from a drop-down list. Other bean property values (for example, color and font) can be changed through a second window displayed for that purpose.

To edit any bean property, open its Properties window and click on the value you want to change. If the value is a string or integer value, you can edit it directly. If the value is a color value, select the button in the value column to bring up the colors window. If the value is a boolean, click on the cell in the value column of the table and select either True or False from the drop-down list.

After changing the properties of a bean, you can apply them in the following ways: