Revert "Move close handling to windowClosed event"

This reverts commit b893e97ccf.
This commit is contained in:
Tomas Slusny
2019-01-22 08:00:22 +01:00
parent 63ca800ff7
commit 5b91d29186

View File

@@ -216,16 +216,10 @@ public class SwingUtil
if (result == JOptionPane.OK_OPTION)
{
frame.dispose();
callback.run();
System.exit(0);
}
}
@Override
public void windowClosed(WindowEvent event)
{
callback.run();
System.exit(0);
}
});
}