I'm currently working on an application that must run on Mac OS X and Windows, but running into difficulty supporting the Mac OS X Application menu (About, Preferences & Quit). Detecting the platform at runtime is easy enough, but how do I compile a version that supports the Apple extensions (com.apple.eawt, com.apple.eawt.event, etc.) when the current build environment is Windows based? Is it simply moving the build process to Mac OS X or is there another solution? I've fooled around trying to use reflection to create the AboutHandler, PreferencesHandler, etc., but have been unable to get that to work.