You can have properties of components on your form initialized in more flexible way than just setting static values. The IDE enables you to initialize property values from:
To modify the initialization code generated for a component's property:
If you select Value or User Code, add a static value or your custom initialization code in the field provided.
If you select Bean, Property, or Method Call, you can select from a list of valid options.
These options (Value, Bean, and so on) are the same options used in Step 3 of the Connection Wizard. The options are described in more detail on the corresponding help page for the Connection Wizard, Connection Wizard: Enter Parameters.
![]() |
You can also place custom code before or after a property's initializer. Follow steps 1 and 2 above, and then click the Advanced button to bring up the Advanced Initialization Code dialog box. Type your custom pre-initialization code, post-initialization code, or both in the fields provided. |
See Also | |
---|---|
Modifying Code Generation for a Component
Modifying Code Generation for a Form |