解决方案 »
- Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
- 求解:关于getInset()的问题
- java 中Windowopened事件问题
- 求救!!为什么出现非法的表达式开始!! !
- 请高帮我手看看我这样的输入数据的方法有什么问题吗
- java 的简单问题???
- 请教一个jdbc远程访问的问题!!!!
- 一个小问题,请大家帮忙
- 紧急呼救:如何用java编制年月日星期?为什么只可以准确输出8个月,用泰勒公式不对吗?(在线等)
- 关于jb生成代码的问题
- 又有看不懂的代码了..
- String s = "abc"; 栈中的"abc"是String类的对象吗?
创建一个具有指定标题、模式和指定所有者 Dialog 的对话框。
modal = true
//给主窗口添加监听
this.addWindowListener(new winAdapter(this));
//监听类
class winAdapter extends WindowAdapter {
public void windowClosing(WindowEvent windowEvent) {
关闭代码,可以在这里恢复主窗口
}
}
是因为你Main.setEnable(false)