changeset 822:3afc6a459636

2008-04-17 Joshua Sumali <jsumali@redhat.com> * rt/net/sourceforge/jnlp/Launcher.java: Fix applet focusing bug.
author Joshua Sumali <jsumali@redhat.com>
date Thu, 17 Apr 2008 13:22:10 -0400
parents c8221da6f9eb
children 7a015d5c9cb1
files ChangeLog rt/net/sourceforge/jnlp/Launcher.java
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Apr 16 12:08:12 2008 -0700
+++ b/ChangeLog	Thu Apr 17 13:22:10 2008 -0400
@@ -1,3 +1,7 @@
+2008-04-17  Joshua Sumali  <jsumali@redhat.com>
+
+	* rt/net/sourceforge/jnlp/Launcher.java: Fix applet focusing bug.
+
 2008-04-16  Keith Seitz  <keiths@redhat.com>
 
 	* patches/icedtea-LCMS-setTagData.patch: New file.
--- a/rt/net/sourceforge/jnlp/Launcher.java	Wed Apr 16 12:08:12 2008 -0700
+++ b/rt/net/sourceforge/jnlp/Launcher.java	Thu Apr 17 13:22:10 2008 -0400
@@ -551,7 +551,8 @@
 
         public void run() {
             try {
-                if (context)
+                // Do not create new AppContext if we're using NetX and gcjwebplugin.
+                if (context && !isPlugin)
                 	new Reflect().invokeStatic("sun.awt.SunToolkit", "createNewAppContext");
 
                 if (isPlugin) {