From 8b8d2395cc0204bb97cd833dca8cd08f5241ff4d Mon Sep 17 00:00:00 2001 From: Guenther Demetz Date: Mon, 4 Mar 2019 15:03:26 +0100 Subject: [PATCH] Avoid overlapping of progress-bar-dialog and proxy-input-panel See https://imgur.com/a/NOR87hz --- .../main/java/com/threerings/getdown/launcher/Getdown.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/launcher/src/main/java/com/threerings/getdown/launcher/Getdown.java b/launcher/src/main/java/com/threerings/getdown/launcher/Getdown.java index b66e1c5..99def4f 100644 --- a/launcher/src/main/java/com/threerings/getdown/launcher/Getdown.java +++ b/launcher/src/main/java/com/threerings/getdown/launcher/Getdown.java @@ -148,6 +148,8 @@ public abstract class Getdown extends Thread } else { // create a panel they can use to configure the proxy settings _container = createContainer(); + // allow them to close the window to abort the proxy configuration + _dead = true; configureContainer(); ProxyPanel panel = new ProxyPanel(this, _msgs); // set up any existing configured proxy @@ -155,8 +157,6 @@ public abstract class Getdown extends Thread panel.setProxy(hostPort[0], hostPort[1]); _container.add(panel, BorderLayout.CENTER); showContainer(); - // allow them to close the window to abort the proxy configuration - _dead = true; } } catch (Exception e) {