Java JOptionPane Message messageBox(String s)

Here you can find the source of messageBox(String s)

Description

message Box

License

Open Source License

Declaration

public static void messageBox(String s) 

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 messageBox(String s) {
        JOptionPane.showMessageDialog(null, s);
    }//w  ww.j a v a  2 s.co m

    public static void messageBox(Component o, String s) {
        JOptionPane.showMessageDialog(o, s);
    }
}

Related

  1. inputMessage(String str1)
  2. log(String msg)
  3. message(Component comp, String title, String message)
  4. message(String s)
  5. message(String s)
  6. msg(int options, String title, String msg, String item, String sep)
  7. Msg(JComponent parent, Object message)
  8. msg(String msg)
  9. msg(String s)