O'Reilly logo

NetBeans IDE 7 Cookbook by Rhawi Dantas

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

Creating options panels

More often than not, when creating plugins that will enhance an IDE the developers decide to place the configuration panels in the IDE's own options panel.

In this recipe we will learn how to create panels that will be placed together with NetBeans own options panel, but in a separate container, and also include our own options together with NetBeans, meaning that one tab will be included with NetBeans options.

Getting ready

We will need to create a new project based on NetBeans Module. Follow the Getting Ready section of the previous recipe and when Project Name is asked enter NBCookbookOptionsPanel, using the other values as shown in the recipe.

How to do it...

First we need to create a Options Panel.

Right-click project ...

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