Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
JAWTExample
Last Revision: | Version 2.0, 2011-03-09 Update to produce a universal binary, build using ant, use JavaNativeFoundation, and adopt new CALayer-based JAWT API. Now requires Mac OS X 10.6 or higher. (Full Revision History) |
Build Requirements: | Java for Mac OS X 10.6 Update 4 or later |
Runtime Requirements: | Mac OS X 10.6 or later, "Java for Mac OS X 10.6 Update 4" or later for CALayer support |
This sample demonstrates how to use the JAWT native interface to attach CoreAnimation layers to a Java component hierarchy, and access the underlying NSViews of AWT heavyweight components. The original NSView JAWT API was introduced in "Java 1.4.1 Update 1 for Mac OS X 10.2", and the CALayer extensions were added in "Java for Mac OS X 10.6 Update 4".
Copyright © 2011 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2011-03-09