Link to home
Start Free TrialLog in
Avatar of ptpovo
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)?
Avatar of rafistern
rafistern

Wouldn't the best thing to be to configure the dos window to close on completion.
Avatar of ptpovo

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.
ASKER CERTIFIED SOLUTION
Avatar of prg022698
prg022698

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ptpovo

ASKER

Tried javaw, works just fine! Thanks!