## 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 the Miscellaneous panel (such as the "Ant" or "GUI Builder" panel in the IDE's Miscellaneous panel).

To create a new Options panel:

1. Right-click a module project and choose New > File/Folder. In the New File wizard, choose Options Panel under the NetBeans Module Development category.
2. In the Choose Panel Type page, choose one of the following:
   - Create Miscellaneous Panel. Specifies that the category will be displayed as an addition to 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).
3. 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.
4. 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