FROM : Patrick M
DATE : Mon Jan 14 20:06:23 2008
I assume there is a way to call Java from Cocoa? something like JNI for
Cocoa?
On Jan 14, 2008 1:43 PM, Chris Hanson <<email_removed>> wrote:
> 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
>
>
DATE : Mon Jan 14 20:06:23 2008
I assume there is a way to call Java from Cocoa? something like JNI for
Cocoa?
On Jan 14, 2008 1:43 PM, Chris Hanson <<email_removed>> wrote:
> 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
>
>
| Related mails | Author | Date |
|---|---|---|
| Patrick M | Jan 14, 17:29 | |
| Nick Zitzmann | Jan 14, 19:33 | |
| Chris Hanson | Jan 14, 19:43 | |
| Patrick M | Jan 14, 20:06 | |
| Andreas Monitzer | Jan 15, 01:57 | |
| Thomas Davie | Jan 15, 02:14 | |
| Bill Bumgarner | Jan 15, 04:15 | |
| Patrick M | Jan 15, 16:09 | |
| Andreas Monitzer | Jan 15, 16:16 |






Cocoa mail archive

