Behind an Applet? There should not be any DOS window for an Applet, only for an application. If you invoke the application using javaw instead of java then the user can close the DOS window if they want. Also, you can just maximize your appliction to cover the DOS window.
"JavaRanch, where the deer and the Certified play" - David O'Meara