请问如何在关闭窗口时,避免程序终止? frame.destroy()不用system.exit(),系统就不会中止 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Frame 没有destroy()这个方法,倒是applet中有一个,我试了试,为什么还是不行?类EX_show_1_ivPoints 继承自Applet. final EX_show_1_ivPoints ivPoints = EX_show_1_ivPoints(full_fileNames); Frame ivFrame = new MainFrame( ivPoints, 400,400); ivFrame.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { ivPoints.destroy(); } }); 为什么JAVAC 不了? jar包中无法实现对文件的写操作 請問如何更改Applet中左上角的那個圖標 怎么样生成一个字母加数字的字符串? 关于JNI在web上应用的问题??? J2SE--用JAVA流如何将一个文件拷贝到别的地方-->清高手指教 关于一个图形输出的问题??救我 大家认为考SCJP有用吗(散分了~~~~) 请问一个c语言定义的数在java中怎样正确识别? log4j这个打印日志的功能是不是只能在Apache中使用 一个弱问题,请帮忙,在线等待 一个EJB的简单问题,J2EE版人太少了,来这里问。请大家帮帮我
类EX_show_1_ivPoints 继承自Applet. final EX_show_1_ivPoints ivPoints = EX_show_1_ivPoints(full_fileNames);
Frame ivFrame = new MainFrame( ivPoints, 400,400);
ivFrame.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
ivPoints.destroy();
}
});