Java JOptionPane Message popupMessage(String message)

Here you can find the source of popupMessage(String message)

Description

Popup a message dialog.

License

LGPL

Parameter

Parameter Description
message The message to display.

Declaration

private static void popupMessage(String message) 

Method Source Code

//package com.java2s;
//License from project: LGPL 

import javax.swing.JOptionPane;

public class Main {
    /**//from w ww .  j av a 2 s . c  om
     * Popup a message dialog.
     * @param message   The message to display.
     */
    private static void popupMessage(String message) {
        JOptionPane.showMessageDialog(null, message, "Problem", JOptionPane.ERROR_MESSAGE);
    }
}

Related

  1. noTo(String message)
  2. optionWindow(String message, String title, String[] options)
  3. pause(final String msg)
  4. plain(String title, Object message, JComponent parent)
  5. popup(Component parent, String message, String title)
  6. popupMessage(String title, String message)
  7. promptForFloat(Component parentComponent, String message, String title, float oldValue)
  8. promptForString(Component parentComponent, String message, String title, String oldValue)
  9. queryBoolean(String message)