removing or using AWT/Swing

Tom Tromey tromey@redhat.com
Wed Jul 26 20:15:00 GMT 2006


>>>>> "Marco" == Marco Trudel <mtrudel@gmx.ch> writes:

Marco> Just a wilde guess: what about using the cygwin x emulation? Or is a 
Marco> peer something else?

Yeah, this would probably work.  (I don't know much about it.)
There's also a Windows port of Gtk which, at least in theory, has some
chance of working.

Just to clarify -- in AWT each java object, like a List widget, has a
corresponding native object called the widget's peer.  We also use the
term "peers" to mean the collection of java+native code that makes up
a given port of AWT.

Currently Classpath has 3 peer implementations: Gtk, Qt, and one based
on pure Xlib (the Escher library).  There's also some "AWT on Swing"
code, but as I recall this is rather experimental and it still
requires (a much smaller amount of) native peer support -- Frame and
events basically.

We'd like a real Windows port but nobody is working on it.
Perhaps someone could try lifting this from Harmony.

Tom



More information about the Java mailing list