The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
September 2000

Advertisement

Advertisement

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.

Message:

applet load applet

Posted by rajiv on December 02, 2000 at 1:24 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

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: rajiv_trf@hotmail.com





Replies:

Sponsored Links



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