|
Version: 2.0 Posted: 2007-06-01 Build Requirements: J2SE 1.4 or later, Ant 1.7.0 or later. Xcode project requires Xcode 3.0 Runtime Requirements: J2SE 1.4 or later Download Sample (OSXAdapter.zip, 74.9K) |
||||||||||||||||
DescriptionThis sample uses a reflection Proxy model to hook existing preferences, about, and quit functionality into handlers for the Mac OS X application menu. This functionality is easily adopted by implementing the com.apple.eawt.ApplicationListener interface, but this sample's dynamic implementation will only be triggered on platforms that actually support the Apple APIs (e.g. Java 1.4 or later on Mac OS X), avoiding any compatibility concerns. This sample is for developers looking to support multiple platforms, including support for Mac OS X-specific features, with a single codebase. It is written for and should build and run on any J2SE 1.4 implementation without any stub or placeholder libraries. Document Revision History
|
|