ptpovo
asked on
open AWT app - finish/close DOS window
When calling an AWT app from a .bat file, how do you close the resulting DOS window (the cursor is on a new line, but there is no prompt)?
Wouldn't the best thing to be to configure the dos window to close on completion.
ASKER
Absolutely, problem is I can't figure out how that is done. My first thought is to include the following:
@echo off
java MyAWTApplication
exit
but the DOS window remains open during the life of the AWT app window and after the AWT app window has been closed. The DOS cursor just hangs with no prompt.
@echo off
java MyAWTApplication
exit
but the DOS window remains open during the life of the AWT app window and after the AWT app window has been closed. The DOS cursor just hangs with no prompt.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Tried javaw, works just fine! Thanks!