wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Running a SWT program without the dos prompt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Running a SWT program without the dos prompt" Watch "Running a SWT program without the dos prompt" New topic
Author

Running a SWT program without the dos prompt

Richard Butterwood
Ranch Hand

Joined: Nov 07, 2005
Posts: 45
When I run my SWT program from a icon I get the black dos window in the background before my screen launches. How do I run my program without the dos screen appearing.

Thanks!
Sunny Kumar
Ranch Hand

Joined: Oct 27, 2005
Posts: 57
Accordint to me,its not possible.
Because the OS is executing "java program_name" in cmd and then continuing with the result after finishing it.
I think its just the flash which you will have to bear little.
Eddie Vanda
Ranch Hand

Joined: Mar 18, 2003
Posts: 281
Hi Richard,

Use javaw instead of java!

Ed


The nice thing about Standards is that there are so many to choose from!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Running a SWT program without the dos prompt