• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Mac OSX stubs JAR?

 
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a desktop application that I distribute for various platforms, including Mac OSX. I take advantage of OSX's com.apple.mrj.MRJApplicationUtils class to make the app look more Mac-like, when it runs on OSX. Up until now, I've done stuff manually, and when compiling on Windows, I've just physically deleting the class containing references to com.apple.mrj.MRJApplicationUtils. Now, I'm developing the project within Eclipse, so my old attempt at being cross-platform doesn't work.

I know that Apple has made available a JAR of stubs that I can simply include, so that the app will compile/run on non-OSX platforms. But I've spent about 2 hours searching online for this JAR, and I can't find it. Does anyone here know what I'm talking about, and where I can find said JAR file?
 
dave taubler
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Never mind. I just created my own, which took far less time than I spent looking for Apple's.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just for the record, they're here. Of particular interest for cross-platform developers are "OSXAdapter" and "AppleJavaExtensions".
 
dave taubler
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for posting that. Looks like there's a lot of other good stuff in there as well.
 
reply
    Bookmark Topic Watch Topic
  • New Topic