Topic: 怎么撤消关闭动作?

  Print this page

1.怎么撤消关闭动作? Copy to clipboard
Posted by: mymy828
Posted on: 2005-05-15 01:52

frame.addWindowListener(new WindowAdapter(){
    public void windowClosing(WindowEvent e){
       System.exit(0);}});
这里我突然不想关闭窗口了,能有什么办法能让这个关闭动作不执行吗?


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923