Re: Applet.destroy()



Ike wrote:

If someone just closes a browser instance, which is running an Applet, is
public void destroy()
invoked in all cases (i.e. for all OS's, all broswers?) -Ike

I doubt it. Why should it ? Indeed, how can it ? If the browser is being
killed, it doesn't necessarily get any choice in the matter nor any chance to
clean up (even if it wanted to).

Consider what happens if someone turns the computer off ;-)

-- chris


.



Relevant Pages

  • Applet.destroy()
    ... If someone just closes a browser instance, which is running an Applet, is ... public void destroy() ... invoked in all cases (i.e. for all OS's, all broswers?) -Ike ...
    (comp.lang.java.programmer)
  • JMF massive memory leak
    ... because calling starton a player and stop ... public void start{ ... public void destroy() { ... private void removePlayer() { ...
    (comp.lang.java.programmer)
  • Re: invokeLater
    ... Ike wrote: ... Not the problem you were having, but dispose should be run in the EDT as well as showing the frame. ... public void setNotice{ ... Tom Hawtin ...
    (comp.lang.java.programmer)