Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Images  RSS feed

 
Tomm Schuman
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I hope this is the right forum to ask this.

I have a applet where i want to paint an image from a file.
If the file is gif it works but not bmp. Why??

First i initialize an Image object:


Then i get the image:


And last i draw it:


That wont paint anything but if I use the North.gif file I also have it will paint the image
 
nabi bux
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what type of object oBuf?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!