O'Reilly logo

JavaFX Rich Client Programming on the NetBeans Platform by Gail Anderson, Paul Anderson

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

11. Dialogs

Chances are that at some point in your application, you’ll need to display a dialog to communicate with the user. The NetBeans Platform has a Dialogs API that provides a collection of predefined dialogs and related utilities. Dialog types include simple messages, Yes-No confirmations, OK-Cancel confirmations, and dialogs that request input. The standard dialogs are also configurable, but if the standard fare is not flexible enough for you, you can always create a custom dialog.

In this chapter, we’ll explore all of these offerings.

What You Will Learn

• Create standard message, confirmation, and input line dialogs.

• Customize standard dialogs.

• Process user responses in dialogs.

• Customize dialogs.

• Provide error handling with ...

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