• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cannot create image from image in res folder

 
Joel Karimpil
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i am using an image in the res folder to create an image using the Image.createImage("/progress.gif") function.
however it returns an IO exception .
i do not understand why?
plz somebody herlp soon.
 
Aryan Khan
Ranch Hand
Posts: 290
Java Oracle Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Make sure that the filename is correct and same case as defined in your code including the extension.
 
Reggie McDougal
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm getting an OI error with create image, I have the files in a res directory, casing all ok, I'm using eclipse, it don't make sence must be an eclipse problem




 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic