Re: [Xswt-developer] Xswt-developer Digest, Vol 4, Issue 1
Brought to you by:
dvorme
|
From: <ha...@id...> - 2006-09-07 12:40:30
|
> -----Original Message----- > Raphael Bosshard wrote: > Hello there, > > I know that XSWT is able to handle images. I saw Hans > Baiers Mail and the hint with ImageDataParser. The ImageDataParser parses the syntax "<class> <class-relative-path>". E.g. in the test project for XSWT I have a class named com.swtworkbench.community.xswt.dataparser.DataParserTest and in the same folder I have an image file named xswt.gif. In the test the string "com.swtworkbench.community.xswt.dataparser.DataParserTest xswt.gif" is correctly parsed as a reference to xswt.gif relative to the DataParserTest class. In general, XSWT looks for the class and resolves the file relative to the class. This means you must be careful with the folder classpath and structure. > Yet I'm unable to make it work. What have you tried? Hallvard |