• 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: Chris Hanson <email@hidden>
  • Date: Mon, 14 Jan 2008 10:43:41 -0800

On Jan 14, 2008, at 8:29 AM, Patrick M wrote:

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?


I cannot seem to find anything, and Java being interpreted seems to imply
that placing some kind of Java class in the /Library/PreferencesPane
directory wont work.


Anyone had any luck? Is it documented as possible/not possible?

The System Preferences preference pane API and NSStatusItem API are Cocoa-based APIs, so by definition you must use Cocoa to write code against them. Finder contextual menu item plug-ins currently use a CFPlugIn-based API, not a Cocoa API.


Whether you use Objective-C is orthogonal from whether you use Cocoa, though Objective-C is the native language of the Cocoa frameworks.

  -- Chris

_______________________________________________

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: "Patrick M" <email@hidden>
References: 
 >Cocoa classes -> Java? (From: "Patrick M" <email@hidden>)

  • Prev by Date: Re: Change in File Link Behavior in NSTextView Under Leopard
  • Next by Date: Re: Advice re: "Rough-Cuts" version of "Cocoa Design Patterns"
  • Previous by thread: Re: Cocoa classes -> Java?
  • Next by thread: Re: Cocoa classes -> Java?
  • Index(es):
    • Date
    • Thread