
www.Usenet.com
| <-- __Chronological__ --> | <-- __Thread__ --> |
Jeremy wrote:
> [...], I have
> written a new windowing system and I would like to write AWT/Swing
> bindings for it. I have absolutely no idea how to even begin or how much
> work this will be.
I don't know how much work it'd be, and it's not something I've ever tried.
However the place to start looking is the abstract class java.awt.Toolkit. You
are expected to provide your own implementation of this (and whatever peer
classes you use).
On my (Sun JDK on Windows) system, there are two direct implementations of
Toolkit -- sun.awt.HeadlessToolkit and sun.awt.SunToolkit (which is, in turn,
subclassed by sun.awt.windows.WToolkit). These might be a good place to start
looking (if you have access to the source).
-- chris
| <-- __Chronological__ --> | <-- __Thread__ --> |