DisplayHelperpublic class DisplayHelper extends Object
Fields Summary |
---|
private static String | ERROR_TITLE | private static String | MESSAGE_TITLE |
Methods Summary |
---|
public static void | displayError(java.awt.Component component, java.lang.String text)
JOptionPane.showMessageDialog( component,
text,
ERROR_TITLE,
JOptionPane.ERROR_MESSAGE );
| public static void | displayMessage(java.lang.String text)
JOptionPane.showMessageDialog( null,
text,
MESSAGE_TITLE,
JOptionPane.ERROR_MESSAGE );
|
|