1
2package com.mkyong.inputDialog;
3
4import javax.swing.JOptionPane;
5
6public class SimpleInputDialog1 {
7
8 public static void main(String[] args){
9
10 String m = JOptionPane.showInputDialog("Anyone there?");
11 System.out.println(m);
12
13 }
14
15}
16