摘要: String input = JOptionPane.showInputDialog("请输入你的名字:");//输入框 if(input.equals("zhang3")){ JOptionPane.showMessageDialog(null,"欢迎你,主人!");//消息框 }else{ JO 阅读全文
posted @ 2016-03-02 23:53 稳重的橙子 阅读(159) 评论(0) 推荐(0)