diff options
author | Andrew Su <[email protected]> | 2010-12-23 16:45:37 -0500 |
---|---|---|
committer | Andrew Su <[email protected]> | 2010-12-23 16:45:37 -0500 |
commit | 6acb9912526793132a39489ebd7e8a799ff3165d (patch) | |
tree | 4a3388cabb1c74512efb7575b54044b9ee6664a4 /netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java | |
parent | 6cd5997e86146410c93b63d21a1fe1522e390051 (diff) |
Remove creation of swing thread for displaying dialogs.
Diffstat (limited to 'netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java')
-rw-r--r-- | netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java b/netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java index 8a74ca1..ee92fa6 100644 --- a/netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java +++ b/netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java @@ -116,21 +116,14 @@ public class AdvancedProxySettingsDialog extends JDialog { * * @param config * A loaded DeploymentConfiguration file. - * @throws Exception */ - public static void showAdvancedProxySettingsDialog(final DeploymentConfiguration config) throws Exception { + public static void showAdvancedProxySettingsDialog(final DeploymentConfiguration config) { setSystemLookAndFeel(); - SwingUtilities.invokeLater(new Runnable() { - @Override - public void run() { - AdvancedProxySettingsDialog psd = new AdvancedProxySettingsDialog(config); - psd.setResizable(false); - psd.centerDialog(); - psd.setVisible(true); - psd.dispose(); - } - }); - + AdvancedProxySettingsDialog psd = new AdvancedProxySettingsDialog(config); + psd.setResizable(false); + psd.centerDialog(); + psd.setVisible(true); + psd.dispose(); } /** |