• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa classes -> Java?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa classes -> Java?


  • Subject: Re: Cocoa classes -> Java?
  • From: Andreas Monitzer <email@hidden>
  • Date: Tue, 15 Jan 2008 01:57:53 +0100

On Jan 14, 2008, at 17:29, Patrick M wrote:

I am researching using Java to write an application that will run on a
variety of platforms including Mac OS X and various Unix/Linux
configurations.

My question is:

Is there a way to create a system menu item (NSStatusItem), preference pane
and contextual menu using Java instead of Cocoa for Mac OS X?

Not any more. Until Tiger, Apple supported writing Cocoa applications in Java, but this was removed, probably due to lack of interest of both Apple and the developers.
Now you have to use JNI as the interface, optionally writing your own Java Bridge (make sure you publish it if you do that!).


andy

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Cocoa classes -> Java?
      • From: Bill Bumgarner <email@hidden>
References: 
 >Cocoa classes -> Java? (From: "Patrick M" <email@hidden>)

  • Prev by Date: Re: Private Frameworks
  • Next by Date: Cocoa Dialog over DialogManager Dialog
  • Previous by thread: Re: Cocoa classes -> Java?
  • Next by thread: Re: Cocoa classes -> Java?
  • Index(es):
    • Date
    • Thread