swt controlexample

Erik Poupaert erik.poupaert@chello.be
Fri Jan 3 22:02:00 GMT 2003


>>>> 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).

I can't get breakpoints in the middle of gcjlib's native code. I assume that
is because gcjlib has not been compiled with debug information? I would
really like a minGW-build with debug enabled and figure out why
Class.forName() fails; beside other stuff I would like to investigate with
gdb.
>>>> BTW, have you tried building the SWT file manager ? I got some really
strange
>>>> behavior from that when I tried it under GCJ...

I'll have a go at it tonight or tomorrow. But just from looking at the
source, I smell some foul winds coming from:
	private final Runnable workerRunnable = new Runnable() {
		public void run() {
		...
		}
	};
Who says that involved multithreading works properly on win32? I assume it
doesn't, until I have witnessed that it does. Have inner classes already
been fully fixed? Otherwise, the remainder of the source looks like vanilla
java/swt with no apparent reason not to work.
>>>> I might create an INNO Setup program with all of Ranjit's stuff... that
would
>>>> make it more marketable to Windows users I think...

The installation is actually very easy. Unzip and go.
I feel it's the output of gcj that will market gcj.
There should be some really nifty swt applications "made in gcj-land"
available for download. Or else, at least a few impressive screenshots of
some complicated (even totally useless...) GUIs made in gcjonia. Then, we
should have an article somewhere, mentioned on slashdot, extolling the
virtues of this unholy combination (minGW,GCJ,SWT).
After that, GCJ may very well take off big time. There is simply no
competitor for this: C++ has already the reputation of being too hard - it's
a non-starter; VB6 is in the process of being abandoned; the JRE doesn't
work in this context and drags around a huge download; DOT.NET has it's own
download conundrum, is still unknown, carries the full brunt of the
microsoft stigma, and has no installed base whatsoever protecting it. And
then you have all these obscure languages, that are usually not better on
any account, on top of being obscure. GCJ is definitely filling a void.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /