• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem with closing n reloading an applet

 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic