BlackWindow

Hi allim new to java & i begin building GUI programsso the question is how can i get rid of the black window appeared when runing the program ?thanks in advance
[199 byte] By [TheInsider] at [2007-9-30 19:21:59]
# 1
You cant really get rid of the black window - but you can run it minimized or reduce its size perhapsYour GUI should run over it anyway.
janey2004 at 2007-7-6 23:34:59 > top of Java-index,Administration Tools,Sun Connection...
# 2

When you finish your app you can make it a JAR file which will run without the black window. Also you can make a batch file and use the command javaw instead of java to run the app.

This is an example of my jar file. I have multiple class files so I used the * wildcard.

jar cvmf manifest.txt Jdownloader.jar Jdownloade*.class jdownloader.jpg

Hope this helps.

CaffeinatedCoder at 2007-7-6 23:34:59 > top of Java-index,Administration Tools,Sun Connection...
# 3
Or use javaw.exe instead of java.exe to launch your program... this will run it without the console window.
scorbett at 2007-7-6 23:34:59 > top of Java-index,Administration Tools,Sun Connection...