This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SWT and AWT


On Dec 3, 2003, at 3:01 PM, Andrew Pinski wrote:

On Dec 2, 2003, at 17:53, Bryce McKinlay wrote:

There arn't any licensing issues with cocoa afaik, since its part of the OS. In any case, cocoa and MFC are high-level APIs much like AWT itself. Its probably better to use lower-level APIs to implement AWT, both for efficiency and because its probably necessary in order to implement AWT accurately. On Mac OS X, the right API would be HIToolbox, which is an object orientated C API, somewhat similar to GTK.

Note Cocoa is not build on top of HIToolBox at all.

Interesting. Do the two toolkits duplicate some functionality, or is there another hidden API layer in there somewhere? Do you happen to know what Apple's Java AWT/Swing implementations use?


Also if you build it on top of Cocoa, you can also build it on top of GNUStep which is
the free version of OpenStep (like Cocoa but an older standard) and there would be no need
to use GTK at all :).

Another problem with Cocoa however, would be using CNI and Objective C in the same source file, right? At least until FSF GCC gets "Objective C++".


Regards

Bryce.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]