|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.aplu.util.MessageDialog
public class MessageDialog
A simple message dialog (with no prompt button).
The dialog is modeless, e.g. it "floats" while
the application continues.
All Swing methods are invoked in the EDT.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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(). |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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)
Method Detail |
---|
public MessageDialog show()
public MessageDialog show(boolean exitOnClose)
public MessageDialog close()
public javax.swing.JDialog getDialog()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |