O'Reilly logo

Java 9 Programming Blueprints by Jason Lee

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required