diff options
author | Andrew Su <[email protected]> | 2010-12-23 16:55:17 -0500 |
---|---|---|
committer | Andrew Su <[email protected]> | 2010-12-23 16:55:17 -0500 |
commit | 36afa69683ce509c5952a0fc1570ea6c05f4e186 (patch) | |
tree | 75e62ac7c388a77746761ab2fbf7a4d10f2d81b9 | |
parent | 6acb9912526793132a39489ebd7e8a799ff3165d (diff) |
Removed call to set system look and feel for dialog.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java | 12 |
2 files changed, 6 insertions, 12 deletions
@@ -1,6 +1,12 @@ 2010-12-23 Andrew Su <[email protected]> * netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java: + (showAdvancedProxySettingsDialog): Removed call to setSystemLookAndFeel(). + (setSystemLookAndFeel): Method removed. + +2010-12-23 Andrew Su <[email protected]> + + * netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java: (showAdvancedProxySettingsDialog): Removed creation of swing thread. * netx/net/sourceforge/jnlp/controlpanel/CacheViewer.java: (showCacheDialog): Removed throwing of exception. diff --git a/netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java b/netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java index ee92fa6..5071654 100644 --- a/netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java +++ b/netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java @@ -118,22 +118,10 @@ public class AdvancedProxySettingsDialog extends JDialog { * A loaded DeploymentConfiguration file. */ public static void showAdvancedProxySettingsDialog(final DeploymentConfiguration config) { - setSystemLookAndFeel(); AdvancedProxySettingsDialog psd = new AdvancedProxySettingsDialog(config); psd.setResizable(false); psd.centerDialog(); psd.setVisible(true); psd.dispose(); } - - /** - * Set the look and feel. - */ - private static void setSystemLookAndFeel() { - try { - UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); - } catch (Exception e) { - // don't worry if we can't. - } - } } |