Adding a secondary panel

With the primary panel defined, we're ready to create the secondary panel, which will do our work. We right-click on the package again, and select New | Options Panel, this time selecting Create Secondary Panel:

Since we've defined our own primary panel, we can select that as our parent, and we set the title and keywords as we did before. Click on Next, select and/or verify the class prefix and package, then click on Finish. This will create three artifacts--SourceDirectoriesOptionPanelController.java, SourceDirectoriesPanel.java, and SourceDirectoriesPanel.form, and NetBeans will present you with the GUI editor for ...

Get Java 9 Programming Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.