Java JOptionPane Info showInformationMessage(Component parent, String str)

Here you can find the source of showInformationMessage(Component parent, String str)

Description

Show message.

License

Open Source License

Declaration

public static void showInformationMessage(Component parent, String str) 

Method Source Code

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

import java.awt.*;
import javax.swing.*;

public class Main {
    /**/*from w  w w  .  ja va 2 s  .co m*/
     * Show message.
     */
    public static void showInformationMessage(Component parent, String str) {
        JOptionPane.showMessageDialog(parent, str, "Information!",
                JOptionPane.INFORMATION_MESSAGE);
    }
}

Related

  1. showInfoMessage(String message, Component component)
  2. showInformationBox(Component pParent, String pMessage, String pTitle)
  3. showInformationConfirmBox(Component pParent, String pMessage, String pTitle, String pLeftOption, String pRightOption)
  4. showInformationMessage(Component component, String message, String title)
  5. showInformationMessage(Component parent, String str)
  6. showInformationMessage(final JComponent parent, final String messge, final String title)
  7. showStackTrace(Component parent, Exception e, String info)