AWT peers (Was: [PATCH] More List fixes)

Chris Burdess dog@bluezoo.org
Wed Dec 17 18:51:00 GMT 2003


Mark Wielaard wrote:
>> In the long run, however, it may well be worth stabilizing and
>> documenting _our_ peer interface so that others can develop peers
>> independently of libgcj.
>
> Both Chris and Stephane are working on AWT peers so they might have an
> opinion.

sorry for the late reply:

i've had some initial success with my awt-over-ncurses implementation 
using classpath and libgcj, although it's far from complete. however, 
it won't work with sun's jre. there is code in sun's java.awt that 
calls private, final members in the sun.* packages, at least in 1.3.1. 
the sun code then tries to cast the awt toolkit to a sun toolkit, with 
predictable results.

i have found the interface to be largely useable even without 
documentation, although any tips on the event subsystem would probably 
be helpful. i'll try and jot down anything that seems important.
-- 
chris burdess



More information about the Java mailing list