The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
September 2000



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.



Posted by narasimham on December 26, 2000 at 3:33 AM

> > I want to create an applet that when a button is clicked or an option is selected, it load another applet. I could get it to work. Would somebody give me a hint! Thank you!!

> Did you get an answer.

> What I did.

> On the button of Applet1..

> AppletContext ac = getAppletContext();
> ac.showDocument("http://localhost/a.html","_blank");

> In a.html
> I put
> applet code = "applet2" codebase = c:\>

> The applet then shows.

> Does not work if I use file instead of http and
> does not work on appletviewer.

> But works on IE explorer.

> Please let me know if it helps

> Rajiv

> e-mail:


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us