Monday, May 7, 2012

Working with JDialog and JOptionPane in NetBeans IDE

How to use JDialog and JOptionPane(Java GUI programming) in Java Desktop Application through NetBeans IDE.

You can think off a dialog as a simple pop-up window that can display a warning or even asks for a confirmation. eg- A dialog showing confirmation "Do you really want to delete this information?"
You can also use a dialog to request some information from the user.