import javax.swing.JOptionPane; public class Prompt { public static void main(String args[]) { JOptionPane.showInputDialog("test"); } }