A query..

Naushad Assanar naushada at pune.tcs.co.in
Mon Feb 4 00:22:25 PST 2002


i'm using kaffe-1.0.6
cud u  tell me which version is native toolkit based

could u provide me with more info regarding how buttons are created without
using native methods..
if i'm not wrong on addNotify createButton is being called..
I'm not clear about how these components are created???

Regards,
Naushad


Peter Mehlitz wrote:

> On Sunday 03 February 2002 08:49 pm, Naushad Assanar wrote:
> > I dont find ne native declaration of methods in the Toolkit class like
> > createButton, createScrollbar etc..
> > i browsed thru the code but didnt find ne related code for the same..
> > thought there are native declarations for other methods like
> > createWindow createFrame etc.
>
> The version you look at is using lightweight widgets. All Buttons,
> TextFields, Lists etc. are implemented in Java, not native. The only native
> support you need is for
>
>  - toplevels (Window, Frame, opt. Dialog)
>  - Graphics
>  - Font / FontMetrics
>  - input acquisition (keyboard, mouse)
>
> There are other versions around (native toolkit based), but I'm currently
> revising the system so that it becomes more simple to interface to Win32, Qt
> and other widget toolkits.
>
> Regards,
> -- Peter
>
> --
>   Peter C. Mehlitz                        Tel:    +1 415 243 4055
>   Transvirtual Technologies, Inc.,        Fax:    +1 415 243 4056
>   San Francisco, CA, USA.                 Email:  peter at transvirtual.com



More information about the kaffe mailing list