*
The moose likes Applets and the fly likes Loading applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Loading applet" Watch "Loading applet" New topic
Author

Loading applet

Sarada Bhasker
Ranch Hand

Joined: Sep 11, 2000
Posts: 94
How can I load one applet from another?
Suneel Setlur
Ranch Hand

Joined: Nov 26, 2000
Posts: 202
Hi

Try it this way. It works !

I am executing this Applet from an HTML document.
I have used IE5 & JDK 1.2.
Regards
Suneel

[This message has been edited by Suneel Setlur (edited December 19, 2000).]


Suneel
Sarada Bhasker
Ranch Hand

Joined: Sep 11, 2000
Posts: 94
Thanks Suneel. I as trying to get a solution for this for quite a long time. Thanks a lot for your reply.
Sarada Bhasker
Ranch Hand

Joined: Sep 11, 2000
Posts: 94
Now one more doubt. How can I pass a parameter to the loaded applet? Please answer this question. Thanks in advance.
Suneel Setlur
Ranch Hand

Joined: Nov 26, 2000
Posts: 202
Hi Sarada
If you are talking about passing a parameter to an
applet you can pass the parameter in the applet tag.
Eg:
And you can retrieve the parameters using getParameter();
Regards
Suneel
Sarada Bhasker
Ranch Hand

Joined: Sep 11, 2000
Posts: 94
No Suneel, the parameter value will be decided in the first applet and passed to the second. How can I do that?
Suneel Setlur
Ranch Hand

Joined: Nov 26, 2000
Posts: 202
Hi Sarada
Applet to Applet Communication ?
Try this :

Write a similar Applet called Second and type some thing in
the first applet's text field and press the button. It will
be visible on the second.
If you are integrating the applet loading and transfer of
information combine them.
I hope this helps ..... Do get back to me
Regards
Suneel
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Loading applet