📜  java windowlistener 关闭窗口 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:04.291000             🧑  作者: Mango

代码示例1
thisWindow.addWindowListener(new WindowAdapter() {
                    @Override
                    public void windowClosing(WindowEvent we) {
                        //Do stuff
                    }
                } );