Java JOptionPane Info getIconInformation()

Here you can find the source of getIconInformation()

Description

Retrieves the standard information icon (the same one that JOptionPane uses).

License

Apache License

Return

The information icon.

Declaration

public static Icon getIconInformation() 

Method Source Code

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

import javax.swing.*;

public class Main {
    /**/*from w  w  w.  ja va 2s .co  m*/
     * Retrieves the standard information icon (the same one that JOptionPane
     * uses).
     *
     * @return The information icon.
     */
    public static Icon getIconInformation() {
        return UIManager.getIcon("OptionPane.informationIcon");
    }
}

Related

  1. displayInfoPane(Component parentComponent, String message)
  2. displayInformation(String strMsg)
  3. displayInformationMessage(Component parentComponent, String message, String windowTitle)
  4. flashInfoMessage(final Component sourceComponent, final String message, int durationInMilliSecs)
  5. info(Component component, String title, String msg)
  6. info(Component parent, String message)
  7. info(Component parent, String message)
  8. info(String message, Component parent)