List of utility methods to do JOptionPane Warning
void | warningMessage(final String title, final String content) Displays a warning message. SwingUtilities.invokeLater(new Runnable() { public void run() { JOptionPane.showMessageDialog(null, title, content, JOptionPane.WARNING_MESSAGE); }); |
void | warnMsg(final String msg) Warning message dialog SwingUtilities.invokeLater(new Runnable() { public void run() { JOptionPane.showMessageDialog(null, msg, "Warning", JOptionPane.WARNING_MESSAGE); System.out.println(msg); }); |
void | warnMsg(String msg) Warning message dialog JOptionPane.showMessageDialog(null, msg, "Warning", JOptionPane.WARNING_MESSAGE);
System.out.println(msg);
|
void | warnUser(Component parent, String message) warn User JOptionPane.showMessageDialog(parent, message, "Warning", JOptionPane.WARNING_MESSAGE);
|