Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Knute Johnson Newsgroups: comp.lang.java.programmer Subject: Re: javax.swing.Timer blocking program termination Date: Tue, 14 Jul 2015 08:16:01 -0700 Organization: A noiseless patient Spider Lines: 11 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 14 Jul 2015 15:14:35 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="e4bb2c7dad0e79edbbf184ec68513a50"; logging-data="16518"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18REB/gIj43GR/hWHDRvrpE" User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 In-Reply-To: Cancel-Lock: sha1:mqi76dVDQwC5be1W1OPKZwE9/gU= Xref: csiph.com comp.lang.java.programmer:32011 On 7/14/2015 07:39, e.d.programmer@gmail.com wrote: > Closing a window should never terminate a JVM unless you flag it as > EXIT_ON_CLOSE which is not recommended. Whether it should or shouldn't doesn't really matter, the JVM terminates when all the windows have been disposed and all the non-daemon threads have stopped. -- Knute Johnson