Is there a way to know if JFrame was closed by pressing X, I mean the default exit button?
f.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);
Is there a way to know if JFrame was closed by pressing X, I mean the default exit button?
f.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);