Dialog is the AWT (Advanced Windowing Toolkit) equivalent of JoptionPane. Here are some
// sample use of JOptionPane.showMessageDialog import javax.swing.JOptionPane; JOptionPane.showMessageDialog( this, "That name is already taken.", "Duplicate Name", JOptionPane.ERROR_MESSAGE );Finally, there is showOptionDialog: the Grand Unification of the above three, which I have not shown.
This page is posted |
http://mindprod.com/jgloss/joptionpane.html | |
Optional Replicator mirror
|
J:\mindprod\jgloss\joptionpane.html | |
Please read the feedback from other visitors,
or send your own feedback about the site. Contact Roedy. Please feel free to link to this page without explicit permission. | ||
Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[13.59.67.189] |
| |
Feedback |
You are visitor number | |