List of utility methods to do JOptionPane Warning
void | showWarningMessage(String title, String message, java.awt.Component parent) show Warning Message JOptionPane.showMessageDialog(parent, splitIntoLines(message), title, JOptionPane.WARNING_MESSAGE); |
void | warn(Component parent, String message) warn JOptionPane.showMessageDialog(parent, message, "Warning", JOptionPane.WARNING_MESSAGE);
|
void | warn(Component parent, String message) warn JOptionPane.showMessageDialog(parent, message, "Warning", JOptionPane.WARNING_MESSAGE);
|
void | warn(Component parent, String message) warn JOptionPane.showMessageDialog(parent, message, "Warning", JOptionPane.WARNING_MESSAGE);
|
void | warn(String message) warn warn(message, "Warning");
|
void | warning(String message, Component parent) Show a warning window. Toolkit.getDefaultToolkit().beep();
JOptionPane.showMessageDialog(parent, message, "Warning", JOptionPane.WARNING_MESSAGE);
|
boolean | warning(String Msg) Short version of warning method - uses default frame, and has the title 'Warning'. if (displayFrame == null) System.out.println("warning display not initialised! (error was: " + Msg + ")"); return false; return warning(displayFrame, Msg, "Warning"); |
void | warning(String msg) warning Object[] options = { "Ok" }; JOptionPane.showOptionDialog(null, msg, "Warning", JOptionPane.DEFAULT_OPTION, JOptionPane.WARNING_MESSAGE, null, options, options[0]); |
void | warning(String title, Object message, JComponent parent) Muestra un dialogo de advertencia. JOptionPane.showMessageDialog(parent, message, title, JOptionPane.WARNING_MESSAGE); |
void | warningMessage(Component component, String title, String message) warning Message JOptionPane.showMessageDialog(component, message, title, JOptionPane.WARNING_MESSAGE); |