C H A P T E R  20

Options and Settings

With the Options Dialog API and SPI, you can easily create option panels with which the user can comfortably manage the settings and options of your application. This module provides the basic structure of an option dialog into which you can integrate your panels, as shown in Figure 20-1. There are two or three possible variants of panels. There are primary and secondary panels. A secondary panel is a subcategory of a primary panel in form of a tab. There are two kinds of primary panels: primary panels that manage options themselves, and primary panels that only function as containers and contain secondary panels. Preferably the settings are saved and loaded using the Preferences API. The NetBeans Platform ...

Get The Definitive Guide to NetBeans™ Platform 7 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.