• Post Reply Bookmark Topic Watch Topic
  • New Topic

Drawing Bitmaps

 
simon keillor
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have an application where I can drag images around. I use a JLayeredPane as a container for the images and draw each image into a JLabel. The JLayeredPane has an image which acts as a background image for the images to be dragged around on.

All images load if they are gifs or jpgs, but won't if they are bitmaps. Can anyone tell me why?

Cheers

redcard
 
Aaron Roberts
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe bmps aren't supported until java 1.5.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!