Using the Form Connection property editor
The Form Connection Property editor gives you greater control over the generated initialization code for your forms. You can have properties of components on your form initialized in a more flexible way than just setting static values. This editor enables you to initialize property values from:
- A static value you define.
- A JavaBeans component.
- A property of another component on the form.
- A call to a method of the form or one of its components (you can choose from a list of methods that return the appropriate data type).
- Code you define, which will be included in the generated code.
To use the Form Connection property editor:
- With the Component Inspector open on a form, select the property (under the Properties tab) that you would like to modify the initialization code for.
- Press the ... button to bring up the custom property editor multi-tab dialog box and select the Form Connection tab.
- In the dialog box, choose the type of code you would like to add (Value, Bean, Property, Method Call, or User Code) and then add the code in the field provided.
If you select Property or Method Call, press the ... button to bring up a dialog box with a list of properties or methods available. If you select Bean, use the combo box to choose from the available beans.
![]()
- Once you have made your choice, click OK.
Contents | Prev | Next | Index |