Java JOptionPane Message inputMessage(String str1)

Here you can find the source of inputMessage(String str1)

Description

input Message

License

Open Source License

Declaration

public static String inputMessage(String str1) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import javax.swing.JOptionPane;

public class Main {
    public static String inputMessage(String str1, String str2) {
        return JOptionPane.showInputDialog(str1, str2);
    }//from   ww  w. j av a2s.c  om

    public static String inputMessage(String str1) {
        return JOptionPane.showInputDialog(str1);
    }
}

Related

  1. getStrInPane(String message, String title)
  2. getUserInputString(String message)
  3. globalMessagebox(String body, String title, int icon)
  4. input(Component comp, String title, String message, Object def)
  5. input(String message, String title)
  6. log(String msg)
  7. message(Component comp, String title, String message)
  8. message(String s)
  9. message(String s)