Java JOptionPane Message popup(Component parent, String message, String title)

Here you can find the source of popup(Component parent, String message, String title)

Description

popup

License

Apache License

Declaration

public static void popup(Component parent, String message, String title) 

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 popup(Component parent, String message, String title) {
        JOptionPane.showMessageDialog(parent, message, title, 1);
    }/*from  w  ww . j av  a 2s  . c  o m*/
}

Related

  1. notImplemented(final String message)
  2. noTo(String message)
  3. optionWindow(String message, String title, String[] options)
  4. pause(final String msg)
  5. plain(String title, Object message, JComponent parent)
  6. popupMessage(String message)
  7. popupMessage(String title, String message)
  8. promptForFloat(Component parentComponent, String message, String title, float oldValue)
  9. promptForString(Component parentComponent, String message, String title, String oldValue)