JDialog : Java Glossary


JDialogs are a type of Window that pop up over a parent JFrame, usually to ask the user to confirm something or display an About box. JDialogs can be modal or non-modal. Modal JDialogs monopolise the user’s attention, preventing him from clicking anywhere but in the jdialog box.

For simple questions, you can use JOptionPane.showInputDialog which comes in two versions, one that just prompts for a String and one that selects an item from a list.

Dialog is the AWT (Advanced Windowing Toolkit) equivalent of JDialog.

Gotchas Learning More
Sample Code Links


Sample Code

Learning More

Oracle’s Javadoc on JDialog class : available:

This page is posted
on the web at:


Optional Replicator mirror
of mindprod.com
on local hard disk J:

Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

Your face IP:[]
You are visitor number