Article View: borland.public.jbuilder.java.language
Article #14395Re: Dos Box Closing (I don't want it to!)
From: Steve Schafer (TeamB)
Date: Mon, 20 Sep 1999 00:00
Date: Mon, 20 Sep 1999 00:00
15 lines
999 bytes
999 bytes
On Sun, 19 Sep 1999 22:36:34 -0500, "Jason Alexander" <jdawg2@bigfoot.com> wrote: >I'm using Jbuilder 2.0. Is there a way to keep a program that runs under a >Dos Box from closing on exit? I can't see the final output because it >closes so fast... Add this as the last line of your static main method: System.in.read(); This will cause the console to wait until you hit a key (e.g., the Enter key) before closing. -Steve
Technical Details
Message-ID:
<37e5b7c5.306840659@90.0.0.40>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7s49nq$q162@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,3af8864ba4d8fbe9 X-Google-Attributes: gidf74b3,public From: pandeng@telepath.com (Steve Schafer (TeamB)) Subject: Re: Dos Box Closing (I don't want it to!) Date: 1999/09/20 Message-ID: <37e5b7c5.306840659@90.0.0.40> X-Deja-AN: 527296987 Content-Transfer-Encoding: 7bit References: <7s49nq$q162@forums.borland.com> Content-Type: text/plain; charset=us-ascii Organization: TeamB Mime-Version: 1.0 Reply-To: pandeng@telepath.com Newsgroups: borland.public.jbuilder.java.language