diff --git a/src/main/java/com/threerings/getdown/launcher/GetdownApp.java b/src/main/java/com/threerings/getdown/launcher/GetdownApp.java index 06c8e5a..dc6b06a 100644 --- a/src/main/java/com/threerings/getdown/launcher/GetdownApp.java +++ b/src/main/java/com/threerings/getdown/launcher/GetdownApp.java @@ -184,6 +184,19 @@ public class GetdownApp System.exit(exitCode); } } + + @Override + protected void fail(String message) { + // If the frame was set to be undecorated, make window decoration available + // to allow the user to close the window + if(_frame != null && _frame.isUndecorated()){ + _frame.dispose(); + _frame.setUndecorated(false); + showContainer(); + } + super.fail(message); + } + protected JFrame _frame; }; app.start();