Computer Science Canada

How do I Start An Applet from Another Applet?

Author:  That Asian Guy [ Sun Dec 07, 2008 3:36 pm ]
Post subject:  How do I Start An Applet from Another Applet?

I tried

code:

MyApplet myapp = new MyApplet();
myapp.start();


but nothing happened.

Thanks in advance.

Author:  HellblazerX [ Mon Dec 08, 2008 1:34 am ]
Post subject:  Re: How do I Start An Applet from Another Applet?

I don't think you can call on applets by themselves like that. You'll probably have to open up the html file containing the second applet.
http://www.exampledepot.com/egs/java.applet/GoUrlApplet.html
I haven't tested this, so I won't know if it'll work or not.


: