Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Java SWT Support

Radar #4458063

Can't use the AWT from a Carbon application

Description:

Prior to Mac OS X 10.5, native Carbon applications could not use JNI to access Java code that started the AWT.

Resolution:

Carbon applications can now access the AWT if they follow the guidelines in Tech Note 2147. Specifically, they must start the Java VM on a non-main thread, and must take care to only make Carbon or Cocoa calls on the main thread.

Radar #4997714

SWT applications that also create AWT windows hang on exit.

Description:

An SWT application that created an AWT window would not exit cleanly when the last window was closed. The spinning beach ball appeared and you had to force quit the application.

Resolution:

This problem is now fixed in Mac OS X 10.5. Quitting the application via the application menu or closing all windows now ends the application without any problems.



< Previous PageNext Page > Hide TOC


Last updated: 2007-10-31




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice