Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

JOption input java


package com.mkyong.inputDialog;

import javax.swing.JOptionPane;

public class SimpleInputDialog1 {

    public static void main(String[] args){

        String m = JOptionPane.showInputDialog("Anyone there?");
        System.out.println(m);

    }

}
Source by mkyong.com #
 
PREVIOUS NEXT
Tagged: #JOption #input #java
ADD COMMENT
Topic
Name
1+2 =