Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

black terminal window springs up before my swing window

 
Robert Alan Hall
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I've just successfully launched my Swing app (developed in NetBeans) from the distributable files created automatically at building.

But here's the problem...

I've created a Windows short cut to the app using the java directory as the first command and the location of the jar file as the parameter... It runs...

Except first, it displays a black terminal window on the screen. If I close the terminal window, it closes the app. Probably it's because the GUI is launched from a non-swing component based class, no?

Is there a way to stop my jar file launching a black terminal window thing before launching my Swing app? It looks untidy!

thanks for help,

Robert
 
fred rosenberger
lowercase baba
Bartender
Pie
Posts: 12022
25
Chrome Java Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See if this is of any help.
 
Campbell Ritchie
Sheriff
Pie
Posts: 47292
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

I think the suggestion to use javaw in the thread Fred quoted will probably help.
 
Robert Alan Hall
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you guys are geniuses! it worked! I'll be back, I'm sure.

thanks very much :-)
 
Campbell Ritchie
Sheriff
Pie
Posts: 47292
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Robert Alan Hall wrote:you guys are geniuses! it worked! . . .
Unwarranted flattery will get you anywhere!

But, glad we could help
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic