Creating an Options Panel
See Also
An Options panel
adds a category to the IDE's Options window. The category can be
displayed as a primary panel (such as the "General" panel in the
IDE) or as an addition to an existing panel, for example,
the Miscellaneous panel (such as the "Ant"
or "GUI Builder" panel in the IDE's Miscellaneous panel).
To create a new Options panel:
- Right-click a module project and choose New > Other. In the
New File wizard, choose Options Panel under the Module
Development category.
- In the Choose Panel Type page, choose one of the following:
- Create Secondary Panel. Specifies that the category will
be displayed as an addition to an existing panel, for example,
the Miscellaneous panel (such as the "Ant"
or "GUI Builder" panel in the IDE's Miscellaneous panel).
- Create Primary Panel. Specifies that the category will be
displayed as a primary panel (such as the "General" panel in the
IDE).
- In the Location page, you have to set the following:
- Class Prefix. Specifies the prefix of the source files
generated by the wizard.
- Package. Specifies the name of the package where the
source files will be housed.
- After completing the wizard, you can do one or more of the following:
- Add a titled border to make the Options panel resemble other NetBeans Options
categories.
- Use the GUI Builder to add items such as checkboxes and textfields
to the generated panel.
- See Also
- About NetBeans Platform and Module Development
- About the NetBeans Platform
Legal Notices