Must I HomeApplet or can I make the calls from my Route class (which extends JApplet)
Joined: Aug 10, 2005
Not sure why its happening. The applet that is loaded by the browser has connections to the browser via the AppletContext and AppletStub interfaces. The applet you've created would NOT have these connections.
Joined: Jun 27, 2008
Thank yo for your response. Yes this makes sense. Obviously the applet passed in as a parameter for JSObject must be the applet on the page.
Joined: Mar 22, 2005
You should be able to keep a reference to the object around.
Just to expand on what Norm said: you should only have a single class extending Applet (or JApplet) in your code base, and your code should not call its constructor - the browser does that automatically.