Win a copy of Spark in Action this week in the Open Source Projects forum!
  • 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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
 
You get good luck from rubbing the belly of a tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic