GeeCON Prague 2014*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Swing and images Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Swing and images" Watch "Swing and images" New topic
Author

Swing and images

Hanna Habashy
Ranch Hand

Joined: Aug 20, 2003
Posts: 532
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


SCJD 1.4<br />SCJP 1.4<br />-----------------------------------<br />"With regard to excellence, it is not enough to know, but we must try to have and use it.<br />" Aristotle
Richard Everhart
Ranch Hand

Joined: Nov 19, 2003
Posts: 54
I'm not sure about .ico and .bmp support in Swing, but in addition to .gif, .jpg files are also supported.


Rich
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Swing and images