diff options
author | Jiri Vanek <[email protected]> | 2013-09-04 10:35:39 +0200 |
---|---|---|
committer | Jiri Vanek <[email protected]> | 2013-09-04 10:35:39 +0200 |
commit | 954a988dde49b5ee6f154ddebbf7459341ccab1a (patch) | |
tree | 6d5f6d3e6a03229722ffa3ccb9fcfa25a4e1c883 /netx/net/sourceforge/jnlp | |
parent | 61454c3a644d0cdef0cfd1aa8140dd9c81efa727 (diff) |
netx/net/sourceforge/jnlp/Launcher.java - Fix applet context being null during applet init & start, by Adam Domurad <[email protected]>
Diffstat (limited to 'netx/net/sourceforge/jnlp')
-rw-r--r-- | netx/net/sourceforge/jnlp/Launcher.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/netx/net/sourceforge/jnlp/Launcher.java b/netx/net/sourceforge/jnlp/Launcher.java index c214846..8190945 100644 --- a/netx/net/sourceforge/jnlp/Launcher.java +++ b/netx/net/sourceforge/jnlp/Launcher.java @@ -19,6 +19,7 @@ package net.sourceforge.jnlp; import static net.sourceforge.jnlp.runtime.Translator.R; import java.applet.Applet; +import java.applet.AppletStub; import java.awt.Container; import java.awt.SplashScreen; import java.io.File; @@ -716,6 +717,7 @@ public class Launcher { String appletName = file.getApplet().getMainClass(); Class appletClass = loader.loadClass(appletName); Applet applet = (Applet) appletClass.newInstance(); + applet.setStub((AppletStub)cont); // Finish setting up appletInstance. appletInstance.setApplet(applet); appletInstance.getAppletEnvironment().setApplet(applet); |