• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Loading applet

 
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I load one applet from another?
 
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
 
Sarada Bhasker
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
The happiness of your life depends upon the quality of your thoughts -Marcus Aurelius ... think about this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic