Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Mac OSX stubs JAR?  RSS feed

 
dave taubler
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.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • 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!