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

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