Some parts of the source code generated by the Form Editor are not editable directly in the Source Editor. These guarded blocks of code are displayed in the Source Editor with a blue background. Guarded text includes:
Though the initComponents() method is not editable manually, you can affect the way it is generated by editing the Code properties in the component's property sheet. To edit these properties, select the component in the Inspector window and click the Code button in the Properties window. You can also customize code generation using the Form Connection custom property sheets for the components in your form.
See Also | |
---|---|
Modifying GUI Source Code
Source Editor Modifying Forms Externally |