Mr. Doom,
Welcome to JavaRanch!
You apparently missed reading our
naming policy on your way in. It requires that your display name be a full, real, first and last name. Joke names and handles aren't acceptable here. You can change your display name
here. Thanks.
To answer your question: the best way is to simply not open one: use the "javaw.exe" program to launch your GUI application rather than the "java" one; it won't open a DOS window at all.