• 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

How to kill an applet(VERY URGENT)

 
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have project in which I have different buttons on HTML. When user clicks on any button it will call same applet with different parameters to display different GUI's. It is working fine with IE. But in Netscape 4.7 when I click on any button on HTML it will call an applet. After that if I click on other button it will call same applet with different parameter values from HTML.BUT I SAW IN JAVA CONSOLE THAT IT DOESN'T KILL THE PREVIOUS APPLET. So ultimately, if click that five buttons one by one, Resource free memory goes down. HOW I CAN KILL APPLET IN THIS PARTICULAR NETSCAPE OR THIS KIND OF BROWSERS???
P.S.: I am using Stop and Destroy method. In Stop I closed socket. And In Destroy I don't do anything.
Thanks,
Angela
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You should not try to destroy the applet yourself, that is up to the browser. What you should be ding is just redrawing the GUI inside the applet... not launching a new applet with new parameters.

-Nate
 
Angela Jessi
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic