diff options
author | Omair Majid <[email protected]> | 2012-04-19 12:36:43 -0400 |
---|---|---|
committer | Omair Majid <[email protected]> | 2012-04-19 12:36:43 -0400 |
commit | 06726d31ab5383c8b4585ae711b73fb68fc69c39 (patch) | |
tree | 2d1901772188371af40ea74674e7dc6dd3734a51 /plugin/icedteanp/java/sun/applet/JavaConsole.java | |
parent | dc0cc9b22c56c02b7c027f554e821ca9c3771b48 (diff) |
PR918: java applet windows uses a low resulution black/white icon
2012-04-19 Omair Majid <[email protected]>
* NEWS: Update with fix.
* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: Remove windowIcon.
(initialize): Do not call loadWindowIcon.
(getWindowIcon): Remove.
(setWindowIcon): Remove.
(loadWindowIcon): Remove.
* netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java
(checkTopLevelWindow): Do not set the icon for all top level windows. Use
the default java icon instead.
* netx/net/sourceforge/jnlp/util/ImageResources.java: New file. Provides
access to icons.
* netx/net/sourceforge/jnlp/JNLPSplashScreen.java (JNLPSplashScreen),
* netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java
(getListener),
* netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java
(AdvancedProxySettingsDialog),
* netx/net/sourceforge/jnlp/controlpanel/CacheViewer.java (CacheViewer),
* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java (ControlPanel),
* netx/net/sourceforge/jnlp/security/SecurityDialog.java (SecurityDialog),
* netx/net/sourceforge/jnlp/security/viewer/CertificateViewer.java
(CertificateViewer),
* netx/net/sourceforge/jnlp/util/BasicExceptionDialog.java (show),
* plugin/icedteanp/java/sun/applet/JavaConsole.java (initialize):
Explicitly load icons.
* tests/netx/unit/net/sourceforge/jnlp/util/ImageResourcesTest.java: Test
for ImageResources class.
Diffstat (limited to 'plugin/icedteanp/java/sun/applet/JavaConsole.java')
-rw-r--r-- | plugin/icedteanp/java/sun/applet/JavaConsole.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/icedteanp/java/sun/applet/JavaConsole.java b/plugin/icedteanp/java/sun/applet/JavaConsole.java index 55c98e3..e3af966 100644 --- a/plugin/icedteanp/java/sun/applet/JavaConsole.java +++ b/plugin/icedteanp/java/sun/applet/JavaConsole.java @@ -65,6 +65,7 @@ import javax.swing.border.TitledBorder; import net.sourceforge.jnlp.config.DeploymentConfiguration; import net.sourceforge.jnlp.runtime.JNLPRuntime; +import net.sourceforge.jnlp.util.ImageResources; /** * A simple Java console for IcedTeaPlugin @@ -92,6 +93,7 @@ public class JavaConsole { final String logDir = JNLPRuntime.getConfiguration().getProperty(DeploymentConfiguration.KEY_USER_LOG_DIR); consoleWindow = new JFrame("Java Console"); + consoleWindow.setIconImages(ImageResources.INSTANCE.getApplicationImages()); JPanel contentPanel = new JPanel(); contentPanel.setLayout(new GridBagLayout()); |