Create a message dialog box with different options : OptionPane « Swing JFC « Java
MessageBox in Java and Use of JOptionPane in Java Swing NetBeans - SKOTechLearn Tips
Dialogs. Displaying Text in a Dialog Box Windows and dialog boxes –Up to this our output has been to the screen –Many Java applications use these to display. - ppt download
How to Make Dialogs (The Java™ Tutorials > Creating a GUI With Swing > Using Swing Components)