How to get rid of the dos screen when you run a program

Me and a friend were wondering if it is possible to get rid of that black screen(dos screen) that comes up when you load up a java program. If possible, how would you go about it? I've searched the forums and googled this and haven't found anything at all.. so hopefully someone can help me out.

Thanks

[318 byte] By [JackBoba] at [2007-11-26 20:38:49]
# 1
Call javaw instead of java.
DrClapa at 2007-7-10 1:55:57 > top of Java-index,Java Essentials,Java Programming...
# 2
Use a jar file.
patrickmallettea at 2007-7-10 1:55:57 > top of Java-index,Java Essentials,Java Programming...
# 3
I need more information, who is this friend? What do they look like? :)
ChristopherAngela at 2007-7-10 1:55:57 > top of Java-index,Java Essentials,Java Programming...
# 4
run it on another operating system instead of DOS (where Java doesn't work anyway).
jwentinga at 2007-7-10 1:55:57 > top of Java-index,Java Essentials,Java Programming...
# 5
OT: That black screen is super debugging tool! I don't think I can live till today without it ;p
Icycoola at 2007-7-10 1:55:57 > top of Java-index,Java Essentials,Java Programming...