weimingtom / opal

Automatically exported from code.google.com/p/opal
0 stars 0 forks source link

ImageSelector only works with images in the application class path #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.put an arbitrary image on your disk drive
2.try to create an ISItem using the absolute path to that file
3.you get an IllegalArgumentException

What is the expected output? What do you see instead?
I expect the ISItem to support multiple types of file input, including File 
object or InputStreams.

What version of the product are you using? On what operating system?
0.9.5.2 on Windows 7

Please provide any additional information below.
The problem comes from the fact that ISItem uses the API 
SWTGraphicUtil.createImage which only searches the class path.

Original issue reported on code.google.com by Maxime.J...@gmail.com on 9 Sep 2013 at 4:14

GoogleCodeExporter commented 9 years ago
Fixed in 0.9.6

Original comment by laurent....@gmail.com on 24 Oct 2013 at 9:15