Avoid overlapping of progress-bar-dialog and proxy-input-panel
See https://imgur.com/a/NOR87hz
This commit is contained in:
@@ -148,6 +148,8 @@ public abstract class Getdown extends Thread
|
|||||||
} else {
|
} else {
|
||||||
// create a panel they can use to configure the proxy settings
|
// create a panel they can use to configure the proxy settings
|
||||||
_container = createContainer();
|
_container = createContainer();
|
||||||
|
// allow them to close the window to abort the proxy configuration
|
||||||
|
_dead = true;
|
||||||
configureContainer();
|
configureContainer();
|
||||||
ProxyPanel panel = new ProxyPanel(this, _msgs);
|
ProxyPanel panel = new ProxyPanel(this, _msgs);
|
||||||
// set up any existing configured proxy
|
// set up any existing configured proxy
|
||||||
@@ -155,8 +157,6 @@ public abstract class Getdown extends Thread
|
|||||||
panel.setProxy(hostPort[0], hostPort[1]);
|
panel.setProxy(hostPort[0], hostPort[1]);
|
||||||
_container.add(panel, BorderLayout.CENTER);
|
_container.add(panel, BorderLayout.CENTER);
|
||||||
showContainer();
|
showContainer();
|
||||||
// allow them to close the window to abort the proxy configuration
|
|
||||||
_dead = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user