GCJ Windows and SWT
JR Ruggentaler
jr@mpv.com
Mon Sep 22 16:43:00 GMT 2003
Mohan,
I tried your 3.4 build (http://www.thisiscool.net/gcc34-20030830.zip) but
I get the same results when I run my app. Is 3.4 the build you were
suggestion I use or the other 3.3 build? The HolloSWT example build and ran
fine but of course doesn't do much.
In an earlier post Erick suggested changing Display.syncExec() to
Display.asyncExec() but that causes the app to fail with the JRE and as an
executable under GCJ 3.4 build from Mohan. Below is the JRE 1.4.1 stack
trace.
*** Stack trace of contained exception ***
java.lang.IllegalArgumentException: Argument not valid
at org.eclipse.swt.SWT.error(SWT.java:2318)
at org.eclipse.swt.SWT.error(SWT.java:2262)
at org.eclipse.swt.widgets.TableItem.setBackground(TableItem.java:451)
at com.mpv.FormatCarveout.Main10ドル.run(Main.java:486)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:98)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1815)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1549)
at com.mpv.FormatCarveout.Main.<init>(Main.java:623)
at com.mpv.FormatCarveout.Main.main(Main.java:633) Process Exit...
J.R.
> -----Original Message-----
> From: Mohan Embar [mailto:gnustuff@thisiscool.com]
> Sent: Monday, September 22, 2003 1:44 AM
> To: 'Erik Poupaert'; JR Ruggentaler
> Cc: java@gcc.gnu.org
> Subject: Re: RE: GCJ Windows and SWT
>>> Hi J.R.,
>> >Has anyone successfully built SWT on Windows with GCJ 3.3.1?
> If yes can I have a
> >copy? Would SWT make a good test source base for GJC? Is
> there another GUI
> >toolkit someone would suggest for use with Windows/Unix/Mac
> OS 10 and GCJ?
>> Check out:
>> http://www.thisiscool.com/gcc_mingw.htm
>> While the 3.3 build is out-of-date with respect to
> SourceForge, there is an SWT build,
> build scripts and a sample program. Provided that you update
> the paths, you should
> be able to rerun the build scripts to build a new SWT with
> 3.3.1. Or just use the build
> as-is.
>> -- Mohan
> http://www.thisiscool.com/
> http://www.animalsong.org/
>>>>
More information about the Java
mailing list