wood burning stoves*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Running a SWT program without the dos prompt
 
Similar Threads
JSDK 2.1
Clear DOS Screen in XP
Error # 8: CODEC error -- what is this???
No class defination found
How can I get rid of the pop-out dos window?