Last Frame disposed; all threads dead?

Godmar Back kaffe@rufus.w3.org
Thu, 25 May 2000 10:14:30 -0600 (MDT)



 Didn't we have this discussion before?
Have you tried the java.awt.Defaults.AutoStop property?

	- Godmar

> 
> 
> Hello all,
> 
> When the last Frame is dispose()d, the prompt returns. I assume all
> threads die when the last Frame is dispose()d. That's nice, but I am
> trying to catch the windowClosed() event. From that, I call my own
> quit() method. It is never reached.
> 
> It is contrary to Sun behaviour: when using Sun jvm, my quit() method
> is called and the prompt does _not_ return.
> 
> So: what happens to the EventDispatchThread when I dispose() my last
> Frame?
> 
> Bye,
> Kero.
> 
> +--- Kero --------------------------------- kero@dds.nl ---+
> |  Don't split your mentality without thinking twice       |
> |                          Proud like a God -- Guano Apes  |
> +--- M38c ------------------ http://huizen.dds.nl/~kero ---+
>