Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

applet applet communication

 
Prashantha Kumar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I have a html page which contains two applets and another html. The two applet represents the swing component JTree and JTable And a html page has > & < buttons. On clicking > button I want to pass some paramaters from JTree to JTable. Is it possible? if so how?
 
mohana konakanchi
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI
If two applets reside in same HTML page..
You can able to communicate between them.
You need to give names to each applet in HTML.
use
getAppletContext().getApplet("Myapplet1");
will return a handle of applet name Myapplet1.
hope this will help.
Mohana
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic