Java JOptionPane Message showMessage(String message)

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

Description

Shows a popup alert to the user

License

Open Source License

Parameter

Parameter Description
message a parameter

Declaration

public static void showMessage(String message) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import javax.swing.JOptionPane;

public class Main {
    /**//from w  w w. j  a v  a  2 s  .  co  m
     * Shows a popup alert to the user
     * @param message
     */
    public static void showMessage(String message) {
        JOptionPane.showMessageDialog(null, message);
    }
}

Related

  1. showMessage(final String msg, Component parent)
  2. showMessage(final Window aParent, final String aMessage)
  3. showMessage(final Window parent, final String message, final String title, final int messageType)
  4. showMessage(Object message)
  5. showMessage(String message)
  6. showMessage(String message, String title)
  7. showMessage(String message, String title)
  8. showMessage(String msg)
  9. showMessage(String msg)