We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpIntegration › Applet calling an applet
Page Index Toggle Pages: 1
Applet calling an applet (Read 1415 times)
Applet calling an applet
Jun 10th, 2006, 8:03am
 
I would like to have one applet lead into a second applet.  I have found code to do this using the "getAppletContext".  But, I've only gotten it to work on exported applets.  A call to this.getAppletContext() produces a null pointer exception in the unexported versions (perhaps because its not being run in a browser?).

Is there any method i can use on both unexported and exported applets? Exporting to a jar is a hassle because of the difficultes of getting the browser to load the most current applet.
Page Index Toggle Pages: 1