A query..

Peter Mehlitz peter at transvirtual.com
Sun Feb 3 23:25:49 PST 2002

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.

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