📜  java joptionpane 输入 - Java 代码示例

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

代码示例2
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);

    }

}