Article View: borland.public.jbuilder.java.language
Article #17103exiting java other than System.exit()
From: Ted Rallis
Date: Mon, 21 Dec 1998 00:00
Date: Mon, 21 Dec 1998 00:00
12 lines
1106 bytes
1106 bytes
How and why does one exit a java program (applet or application) elegantly? I suppose you should call dispose() on all the windows and the VM should exit if there are no outstanding threads. If you call System.exit() that could be rude to other classes running in the same VM. Uncomfortably, my experience is that javaw in jbuilder becomes a zombie process when I only dispose() of all windows. How do you exit from applets and applications elegantly? Ted Rallis
Technical Details
Message-ID:
<367ED757.DCEE06BB@hotmail.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 146a3d,e9573f62504064d2,start X-Google-Attributes: gid146a3d,public X-Google-Thread: f74b3,e9573f62504064d2,start X-Google-Attributes: gidf74b3,public From: Ted Rallis <ted19@hotmail.com> Subject: exiting java other than System.exit() Date: 1998/12/21 Message-ID: <367ED757.DCEE06BB@hotmail.com> X-Deja-AN: 424687561 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Certicom Corp. Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language,borland.public.jbuilder.java.applet-issues