|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthalo.userinterface.gui.tools.DisplayWarnings
public class DisplayWarnings
Shows warning and error dialogs with a given text message
Constructor Summary | |
---|---|
DisplayWarnings()
|
Method Summary | |
---|---|
static void |
error(java.lang.String text,
java.awt.Component gui)
Shows an error dialog |
static void |
warning(java.lang.String text,
java.awt.Component gui)
Shows a warning dialog |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DisplayWarnings()
Method Detail |
---|
public static void warning(java.lang.String text, java.awt.Component gui)
text
- The warning text that is displayedgui
- The component in which the dialog will be openedpublic static void error(java.lang.String text, java.awt.Component gui)
text
- The error text that is displayedgui
- The component in wich the dialog will be opened
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |