D
Darol Klawetter
My applet runs in its own window frame after being invoked from a
browser. If I close the applet, the windowClosing event is detected as
it should be. If I close down the browser instead of the applet, then
the applet's windowClosing event is not called even though the applet
closes. I have shutdown code in the windowClosing method and I want
this code invoked whether I close the applet before the browser or the
browser before the applet.
I've tried putting my shutdown code in applet.stop() but the objects I
need for shutdown have already been deallocated and are thus null
values when stop() is invoked.
Any ideas of where I can put my shutdown code?
browser. If I close the applet, the windowClosing event is detected as
it should be. If I close down the browser instead of the applet, then
the applet's windowClosing event is not called even though the applet
closes. I have shutdown code in the windowClosing method and I want
this code invoked whether I close the applet before the browser or the
browser before the applet.
I've tried putting my shutdown code in applet.stop() but the objects I
need for shutdown have already been deallocated and are thus null
values when stop() is invoked.
Any ideas of where I can put my shutdown code?