Java JOptionPane Info displayInfoPane(Component parentComponent, String message)

Here you can find the source of displayInfoPane(Component parentComponent, String message)

Description

display Info Pane

License

Open Source License

Declaration

public static void displayInfoPane(Component parentComponent, String message) 

Method Source Code


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

import java.awt.Component;

import javax.swing.JOptionPane;

public class Main {
    public static void displayInfoPane(Component parentComponent, String message) {
        JOptionPane.showMessageDialog(parentComponent, message);
    }//from w ww .  ja  v a  2 s  . c  om

    public static void displayInfoPane(String message) {
        displayInfoPane(null, message);
    }
}

Related

  1. displayInformation(String strMsg)
  2. displayInformationMessage(Component parentComponent, String message, String windowTitle)
  3. flashInfoMessage(final Component sourceComponent, final String message, int durationInMilliSecs)
  4. getIconInformation()