Java JOptionPane Info infoMsg(String msg)

Here you can find the source of infoMsg(String msg)

Description

Information message dialog

License

Open Source License

Parameter

Parameter Description
msg a parameter

Declaration

public static void infoMsg(String msg) 

Method Source Code

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

import javax.swing.JOptionPane;

public class Main {
    /**/*  w  w w . ja va 2  s  . c  o m*/
     * Information message dialog
     * 
     * @param msg
     */
    public static void infoMsg(String msg) {
        // Show it in a message box
        JOptionPane.showMessageDialog(null, msg, "Information", JOptionPane.INFORMATION_MESSAGE);
        System.out.println(msg);
    }
}

Related

  1. info(Component parent, String message)
  2. info(String message, Component parent)
  3. infoBox(String message, String title)
  4. infoMessage(Component owner, String title, String message, ModalityType modalityType)
  5. infoMsg(final String msg)
  6. inform(String dlgTitle, String info, Component parent)
  7. inform(String message)
  8. information(String title, String message)
  9. mensajeInformacion(String mensaje, String titulo)