O'Reilly logo

The Definitive Guide to NetBeans™ Platform 7 by Heiko Böck

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

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

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