📜  显示输入对话框 java 代码示例

📅  最后修改于: 2022-03-11 14:52:44.611000             🧑  作者: Mango

代码示例1
import javax.swing.JOptionPane;

public class SimpleInputDialog1 {

    public static void main(String[] args){

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

    }

}