From: Peter C. <cen...@ri...> - 2003-02-07 20:45:09
|
I took this off of the java-seed mailing list at Apple, which is dedicated to discussion of the new Apple Java releases. This sounds like an excellent library to use for supporting Mac-specific features. I will investigate further. The license is the following: You are free to use, modify and redistribute this software as you wish for your own purposes, in either personal or commercial software applications, without restrictions. Accordingly, this software comes with no guarantee whatsoever and you are fully responsible for any problems that might arise from its usage. However, I will do my best to fix any problem reported to me. Finally, if you were to redistribute this software, in part or in whole, you must include proper credits. In my non-expert opinion, this might conflict with the GPL because of it lacks the restrictions of the GPL. I will ask the author if he will allow us to release it under GPL. -- Peter Begin forwarded message: > February 7, 2003 > By Steve Roy <sr...@ma...> > http://homepage.mac.com/sroy > > MRJ Adapter is a library that assists in implementing Mac OS and Mac > OS X > integration in your Java application by providing a unified API to the > different > mechanisms used by different platforms to handle menu items provided > by the OS > as well as some interapplication messages. In a broader sense, MRJ > Adapter is an > API for managing the About, Preferences and Quit menu items in your > application > in a way that will work with all platforms and that ensures that your > app > doesn't look like a second class citizen on the Mac. > > The main features of MRJ Adapter are the following. > > - About, Preferences and Quit menu items are implemented as normal menu > components on all platforms. > > - Supports both AWT and Swing. > > - Encapsulates the smarts to find out whether the About, Preferences > or Quit > menu item is automatically present or not on the current platform. > > - Enables and uses the Preferences item in the Application menu with > MRJ 3.1 and > 3.2 on Mac OS X, which is something those two VMs didn't directly > support. Many > thanks to Eric Albert for this. > > - Provides an easy, Java-like way to handle the four required Apple > events on > Mac OS and Mac OS X, namely Open Application, Open Document, Print > Document and > Quit Application. > > - Supports Java 1.1 and up. > > - Supports the latest 1.4.1 VM from Apple. > > - If you link with MRJAdapter.jar, there is no need for stubs of any > kind. It > will just work. > > - A set of stubs is provided for compiling the library on platforms > other than > the Mac. This is just for compiling, and the stubs don't need to be > included in > the resulting JAR file. > > This is a prerelease version. At this point, I'm making it available > online to > get comments as well as some testing mileage out of the community. > Since MRJ > Adapter contains information relative to the 1.4.1 VM, which is still > under NDA, > I have put MRJ Adapter onto my .Mac site in a passworded area, and I'm > only > letting people on this private list know the password. -- Peter |