C H A P T E R  13

Dialogs and Wizards

The Dialogs API helps you create and display dialogs and wizards. The dialogs are based on the Java Dialog class. Using the Dialogs API, you can display standard dialogs, as well as custom dialogs tailored to specific business needs. In addition, the API integrates well with the NetBeans window system, as well as the NetBeans help system. Wizards can be seen as a special kind of dialog and are therefore part of the Dialogs API.

Standard Dialogs

Use the NotifyDescriptor class to define the properties of a standard dialog. Provide a message in the form of a String, an Icon, or a Component, which will be displayed with the dialog. Optionally, use an array to display multiple messages in varying situations. ...

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.