#闭口

frame使关闭口生效

this.addWindowListener(newWindowAdapter(){//为了关闭窗口publicvoidwindowClosing(WindowEvente){System.exit(0);}}); ...
代码星球 ·2021-01-09