📜  JOption输入java代码示例

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

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

    }

}