📅  最后修改于: 2022-03-11 14:52:04.291000             🧑  作者: Mango
thisWindow.addWindowListener(new WindowAdapter() {
@Override
public void windowClosing(WindowEvent we) {
//Do stuff
}
} );