List of utility methods to do JOptionPane Error
void | error(Component parent, String message) error JOptionPane.showMessageDialog(parent, message, "Error", JOptionPane.ERROR_MESSAGE);
|
void | error(Component parent, String message) error JOptionPane.showMessageDialog(parent, message, "Error", JOptionPane.ERROR_MESSAGE);
|
void | error(Exception ex) error ex.printStackTrace(System.err); JOptionPane.showMessageDialog(null, "" + ex.getClass().getSimpleName() + ": " + ex.getMessage()); |
void | error(final Component component, final Object msg) Shows an error dialog. Logger.getLogger(component.getClass().getName()).log(Level.SEVERE, null, msg);
JOptionPane.showMessageDialog(component, msg.toString(), "Error", JOptionPane.ERROR_MESSAGE);
|
void | error(String message, Component parent) Show an alert window. Toolkit.getDefaultToolkit().beep();
JOptionPane.showMessageDialog(parent, message, "Alert", JOptionPane.ERROR_MESSAGE);
|
void | error(String message, String title) error JOptionPane.showMessageDialog(null, message, title, JOptionPane.ERROR_MESSAGE); |
void | errorMessage(Component component, String title, String message) error Message JOptionPane.showMessageDialog(component, message, title, JOptionPane.ERROR_MESSAGE); |
void | errorMessage(Component parent, Throwable t) Display an error dialog with the exception. t.printStackTrace();
JOptionPane.showMessageDialog(parent, t.toString(), "Error", JOptionPane.ERROR_MESSAGE);
|
void | errorMessage(Exception exceptionMsg, boolean quiet) error Message Object[] options = { "OK", }; JOptionPane.showOptionDialog(null, exceptionMsg, messagerHeader, JOptionPane.DEFAULT_OPTION, JOptionPane.ERROR_MESSAGE, null, options, options[0]); if (!quiet) { exceptionMsg.printStackTrace(); |
void | exibeMsgErro(String msg) exibe Msg Erro exibeMsg(msg, JOptionPane.ERROR_MESSAGE); |