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

Help needed to run two applets

 
nimisha bansal
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
My friend and i have made two different applets as a part of group project,Now we want to make one more applet with two buttons so that user can select what he want to do .Button 1 if he want to run applet no. 1
and press button 2 to run applet no. 2.Is it possible to run applet within a
applet.That is we want to run both applet from on main applet or some menu.
I don't know hoe to do that.
Please respond ASAP

Thanks
nimisha
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't run an applet within an applet, but you can use the showDocument() method to load a different web page that hosts either one of the two applets. Or you can use a CardLayout with 3 cards, one for each of the applets.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic