diff options
Diffstat (limited to 'src/org/jdesktop/applet/util/JNLPAppletLauncher.java')
-rw-r--r-- | src/org/jdesktop/applet/util/JNLPAppletLauncher.java | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/org/jdesktop/applet/util/JNLPAppletLauncher.java b/src/org/jdesktop/applet/util/JNLPAppletLauncher.java index 595f2bc..1c21f8d 100644 --- a/src/org/jdesktop/applet/util/JNLPAppletLauncher.java +++ b/src/org/jdesktop/applet/util/JNLPAppletLauncher.java @@ -37,8 +37,8 @@ * intended for use in the design, construction, operation or * maintenance of any nuclear facility. * - * $Revision: 1.28 $ - * $Date: 2008/10/21 21:28:49 $ + * $Revision: 1.29 $ + * $Date: 2008/10/21 21:33:50 $ * $State: Exp $ */ @@ -1966,7 +1966,10 @@ public class JNLPAppletLauncher extends Applet { */ private void startSubApplet() { try { - subApplet = (Applet)Class.forName(subAppletClassName).newInstance(); + subApplet = (Applet) + Class.forName(subAppletClassName, + true, + Thread.currentThread().getContextClassLoader()).newInstance(); subApplet.setStub(new AppletStubProxy()); } catch (ClassNotFoundException ex) { ex.printStackTrace(); |