swt controlexample

John Murga john@murga.org
Fri Jan 3 21:16:00 GMT 2003


Hello Erik,

Friday, January 3, 2003, 8:39:54 PM, you wrote:

EP> A last remark, compiling the example required another strange patch to SWT,
EP> to org.eclipse.internal.image.FileFormat:

EP> I had to replace:

EP> //X                             Class clazz = Class.forName(FORMAT_PACKAGE + '.' + FORMATS[i] +
EP> FORMAT_SUFFIX);
EP> //X                             fileFormat = (FileFormat) clazz.newInstance();

EP> with the more mundane:

...

Nope, although I had to do the same because I just couldn't get Class.forName() working
under MINGW (see http://gcc.gnu.org/ml/java/2002-12/msg00147.html).

BTW, have you tried building the SWT file manager ? I got some really strange
behavior from that when I tried it under GCJ...

I might create an INNO Setup program with all of Ranjit's stuff... that would
make it more marketable to Windows users I think...

Cheers
JohnM




More information about the Java mailing list