Java JOptionPane Info showInformationBox(Component pParent, String pMessage, String pTitle)

Here you can find the source of showInformationBox(Component pParent, String pMessage, String pTitle)

Description

show Information Box

License

Apache License

Declaration

public static void showInformationBox(Component pParent,
            String pMessage, String pTitle) 

Method Source Code

//package com.java2s;
/* //from   w  ww.  j av  a2 s  . com
 * Copyright 2015 Torridity.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

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

public class Main {
    public static void showInformationBox(Component pParent,
            String pMessage, String pTitle) {
        JOptionPane.showMessageDialog(pParent, pMessage, pTitle,
                JOptionPane.INFORMATION_MESSAGE);
    }
}

Related

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