[5124] in java-interest

home help back first fref pref prev next nref lref last post

Re: AWT written in Java?

daemon@ATHENA.MIT.EDU (Amy Fowler)
Mon Jan 29 19:04:50 1996

Date: Mon, 29 Jan 1996 08:10:23 -0800
From: Amy.Fowler@Eng.Sun.COM (Amy Fowler)
To: java-interest@java.Eng.Sun.COM, BrianKnitt@aol.com


>>I've been looking over the Java AWT class library source for Solaris and
>>noticed the dependence upon X Windows. Is anyone doing an implementation of
>>AWT entirely in Java? Anyone know how AWT is implemented for Windows and Mac?

Hi Brian,

In order to ensure that apps/applets written in java/AWT
interoperate well on the platforms' desktops (be it XWindows,
win32, or Mac) the AWT must support native methods that
talk to the native window system, which is the whole point
of the Toolkit/peer implemention of AWT.  

In general, you,  as a java/AWT developer, should not need
to worry about such details of implementation; you should
just program to the java/AWT apis.  In fact you can extend
AWT functionality by subclassing and writing components purely
in Java, as many are already doing out there with new Layout
managers, etc.   (caveat: there is some missing functionality 
in AWT that sometimes makes this difficult, but we hope to evolve 
AWT to be fully functional so that you almost never have to deal 
with native window-system code in the future).

Regards,
Amy Moore-Fowler
Java Products Group
Sun Microsystems, Inc.
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post