• Post Reply Bookmark Topic Watch Topic
  • New Topic

display JFileChooser icon running a jar

 
Giulietta Blumarine
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
If I run my application in Eclipse (or however in a development environment) the JFileChooser icon appears, but if I pack my application in a jar (throught Ant) and run it , the icon doesn't appear....

Any ideas?

Thanks in advance

Giu
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
your own icon?

if you load the icon like this

(and the capitalization of the file name needs to be exact)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!