Package org.sm.smtools.swing.dialogs
Class JMessageDialog
java.lang.Object
org.sm.smtools.swing.dialogs.JMessageDialog
The
JMessageDialog
class pops up a standard dialog box containing a message.
Note that this class cannot be instantiated, nor can it be subclassed; use the static
show(java.awt.Component, java.lang.String)
method instead. A valid I18NL10N
database must
be available!
Depending on the application's current look-and-feel, the dialog box looks as follows:
Java Metal L&F
Microsoft Windows L&F
Motif L&F
Note that this class cannot be subclassed!
- Version:
- 06/08/2019
- Author:
- Sven Maerivoet
-
Method Summary
-
Method Details
-
show
Pops up a up a standard dialog box containing a specified message.This method should be called as follows:
JMessageDialog.show(parent,message);
Note that a valid
I18NL10N
database must be available!- Parameters:
parentComponent
- the frame in which this dialog is to be displayedmessage
- a string containing a specified message
-