Answers for "how to take input from the user using dialog box in java"

0

show input dialog java

import javax.swing.JOptionPane;

public class SimpleInputDialog1 {

    public static void main(String[] args){

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

    }

}
Posted by: Guest on March-05-2021

Code answers related to "how to take input from the user using dialog box in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language