Win a copy of Cloud Native PatternsE this week in the Cloud forum
or Natural Language Processing in the AI/ML forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Mac OSX stubs JAR?

 
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • 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
  • 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: 43011
76
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Thanks for posting that. Looks like there's a lot of other good stuff in there as well.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!