|
How to create a Message Dialog Box |
|
|
A message dialog box is a simple window that displays information. A message dialog box
can be created with a call to the showMessageDialog(Component, Object) method of JOptionPane class.
The following statement creates a message box:
JOptionPane.showMessageDialog(null, "I am happy.");
|
Related Tips
|
Page 1 of 0 ( 0 comments )
You can share your information about this topic using the form below!
Please do not post your questions with this form! Thanks.