public class MessageDialog
extends java.lang.Object
Constructor and Description |
---|
MessageDialog(java.awt.Component parent,
java.lang.String message)
Same as MessageDialog(parent, message, iconPath) with iconPath = null.
|
MessageDialog(java.awt.Component parent,
java.lang.String message,
java.lang.String iconPath)
Construct a dialog with given message, which is not
yet shown. show() will display
the dialog in the center of the given component.
|
MessageDialog(java.lang.String message)
Same as MessageDialog(parent, message, iconPath) with parent = null and iconPath = null.
|
Modifier and Type | Method and Description |
---|---|
MessageDialog |
close()
Hide the modeless message dialog previously shown.
|
javax.swing.JDialog |
getDialog()
Return the dialog.
|
MessageDialog |
show()
Show a modeless message dialog with given message.
|
MessageDialog |
show(boolean exitOnClose)
Same as show().
|
public MessageDialog(java.awt.Component parent, java.lang.String message, java.lang.String iconPath)
public MessageDialog(java.awt.Component parent, java.lang.String message)
public MessageDialog(java.lang.String message)
public MessageDialog show()
public MessageDialog show(boolean exitOnClose)
public MessageDialog close()
public javax.swing.JDialog getDialog()