Mike's Developer Notes
Showing posts with label
dialog
.
Show all posts
Showing posts with label
dialog
.
Show all posts
Friday, May 24, 2013
How to Display a JavaScript-like Alert in Java
Just put the following in your Java code:
javax.swing.JOptionPane.showMessageDialog(null, "Your message here");
Note
:
Similar to JavaScript, your code will pause executing until you close the message dialog. So be careful when deploying your code for the client.
Older Posts
Home
Subscribe to:
Posts (Atom)