Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with closing n reloading an applet

 
smyle khanna
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am facing a problem with closing the applet n loading the next applet in the same window,[the program is not yet complete]
at present all get loded in the same window w/o the previous content still present.even the background color doesnt work
the WindowListener method doesnt work ?
plz tell me which method should i use to set these applets workin
 
Joe Ess
Bartender
Posts: 9319
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by smyle khanna:
i am facing a problem with closing the applet n loading the next applet in the same window

You are trying to replace the applet that was loaded in a page with a different applet? I don't think that's possible. You can, however, use a CardLayout to make different "pages" and use the CardLayout.show() method to switch between them.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic