/hg/release/icedtea-web-1.0: Remove creation of swing thread for...

asu at icedtea.classpath.org asu at icedtea.classpath.org
Tue Jan 18 10:51:52 PST 2011


changeset 71d6595e800c in /hg/release/icedtea-web-1.0
details: http://icedtea.classpath.org/hg/release/icedtea-web-1.0?cmd=changeset;node=71d6595e800c
author: Andrew Su <asu at redhat.com>
date: Tue Jan 18 13:51:34 2011 -0500

	Remove creation of swing thread for displaying dialogs.


diffstat:

2 files changed, 11 insertions(+), 14 deletions(-)
ChangeLog                                                               |    5 ++
netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java |   20 +++-------

diffs (43 lines):

diff -r ee7a2e5e3849 -r 71d6595e800c ChangeLog
--- a/ChangeLog	Tue Jan 18 12:07:45 2011 -0500
+++ b/ChangeLog	Tue Jan 18 13:51:34 2011 -0500
@@ -1,3 +1,8 @@ 2011-01-04  Omair Majid  <omajid at redhat.
+2011-01-18  Andrew Su  <asu at redhat.com>
+
+	* netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java:
+	(showAdvancedProxySettingsDialog): Removed creation of swing thread.
+
 2011-01-04  Omair Majid  <omajid at redhat.com>
 
 	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
diff -r ee7a2e5e3849 -r 71d6595e800c netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java
--- a/netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java	Tue Jan 18 12:07:45 2011 -0500
+++ b/netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java	Tue Jan 18 13:51:34 2011 -0500
@@ -116,21 +116,13 @@ public class AdvancedProxySettingsDialog
      * 
      * @param config
      *            A loaded DeploymentConfiguration file.
-     * @throws Exception
      */
-    public static void showAdvancedProxySettingsDialog(final DeploymentConfiguration config) throws Exception {
-        setSystemLookAndFeel();
-        SwingUtilities.invokeLater(new Runnable() {
-            @Override
-            public void run() {
-                AdvancedProxySettingsDialog psd = new AdvancedProxySettingsDialog(config);
-                psd.setResizable(false);
-                psd.centerDialog();
-                psd.setVisible(true);
-                psd.dispose();
-            }
-        });
-
+    public static void showAdvancedProxySettingsDialog(final DeploymentConfiguration config) {
+        AdvancedProxySettingsDialog psd = new AdvancedProxySettingsDialog(config);
+        psd.setResizable(false);
+        psd.centerDialog();
+        psd.setVisible(true);
+        psd.dispose();
     }
 
     /**



More information about the distro-pkg-dev mailing list