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.
• Create standard message, confirmation, and input line dialogs.
• Customize standard dialogs.
• Process user responses in dialogs.
• Customize dialogs.
• Provide error handling with ...