Auto Close Java MSDOS boxes

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Andrew V. Romero

Auto Close Java MSDOS boxes

Post by Andrew V. Romero »

I have been working on getting java applications to automatically close once they have finished working. I was reading the tips and followed the person's instructions on how to do this. Under Preferences | tools | Quick run java app I have the following..

Command: C:\WINDOWS\Command.com
Parameters: /C C:\Java\jdk1.3\bin\java.exe $BaseName
$FileDir

And nothing is checked. This works but the problem is that the window closes automatically once the program has run whereas the computers at school have you touch any button and then they close. So I would like to get it so that once the program runs, a message shows up saying Press any key to continue, and then once you press a key the msdos box disappears.
Any ideas??
Post Reply