List of utility methods to do JOptionPane Message
void | showMessage(Component c, String msg) show Message JOptionPane.showMessageDialog(c, msg); |
void | showMessage(Component component, String message) show Message JOptionPane.showMessageDialog(SwingUtilities.getWindowAncestor(component), message,
UIManager.getString("OptionPane.messageDialogTitle"), JOptionPane.INFORMATION_MESSAGE);
|
void | showMessage(Component item, String title) Shows a message in an Option Panel. JOptionPane.showMessageDialog(null, item, title, JOptionPane.PLAIN_MESSAGE); |
void | showMessage(Component parent, String message, int messageType) Show a JOptionPane message dialog. if (parent != null && !(parent instanceof Window)) { parent = SwingUtilities.getAncestorOfClass(Window.class, parent); JOptionPane.showMessageDialog(parent, message, MESSAGE_TITLE, messageType, null); |
void | showMessage(Component parent, String msg, String title, int flags) Shows a message dialog, wrapping the msg at 60 columns. if (msg != null && msg.length() > 60) { StringBuilder buf = new StringBuilder(); final int L = msg.length(); for (int i = 0, j = 0; i < L; i++, j++) { final char c = msg.charAt(i); buf.append(c); if (Character.isWhitespace(c)) { int k; ... |
void | showMessage(Component parentComponent, String title, String message, int messageType) show Message JOptionPane.showMessageDialog(parentComponent, message, title, messageType); |
void | showMessage(final Component rootComponent, final String message, final String title) show Message JOptionPane.showMessageDialog(rootComponent, message, title, JOptionPane.INFORMATION_MESSAGE); |
void | showMessage(final String message) shows a message prompt showMessage(message, "FrontPage Popup");
|
void | showMessage(final String message) show Message EventQueue.invokeLater(new Runnable() { @Override public void run() { JOptionPane.showMessageDialog(null, message); }); |
void | showMessage(final String msg, Component parent) show Message JOptionPane.showMessageDialog(parent, msg); |