Win a copy of Terraform in Action this week in the Cloud forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

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
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic