Java JOptionPane Info showInfoMessage(String message, Component component)

Here you can find the source of showInfoMessage(String message, Component component)

Description

show Info Message

License

Apache License

Declaration

public static void showInfoMessage(String message, Component component) 

Method Source Code


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

import java.awt.Component;
import javax.swing.JOptionPane;

public class Main {
    public static void showInfoMessage(String message, Component component) {
        JOptionPane.showMessageDialog(component, message, "Informasi", JOptionPane.INFORMATION_MESSAGE);
    }/*w w w  .  j av a2  s.  co  m*/
}

Related

  1. showException(Component parent, Exception e, String info)
  2. showException(Component parent, Exception e, String info)
  3. showInfo(Component owner, String msg)
  4. showInfoBox(Component aParent, String aTitle, String aMessage)
  5. showInfoMessage(Component parent, String message)
  6. showInformationBox(Component pParent, String pMessage, String pTitle)
  7. showInformationConfirmBox(Component pParent, String pMessage, String pTitle, String pLeftOption, String pRightOption)
  8. showInformationMessage(Component component, String message, String title)
  9. showInformationMessage(Component parent, String str)