• Post Reply Bookmark Topic Watch Topic
  • New Topic

Swing and images

 
Hanna Habashy
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi:
Just a general question. Doesn't swing component reads .ico, or .bmp files.
I am trying to add and image to a button. .ico and .bmp don'e work, the only thing work is .gif
Can anyone comments
thanks
 
Richard Everhart
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure about .ico and .bmp support in Swing, but in addition to .gif, .jpg files are also supported.


Rich
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!