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,, and SourceDirectoriesPanel.form, and NetBeans will present you with the GUI editor for ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.