Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling NSApplication -hideOtherApplications from Java JNI not working.



Btw, my understanding is that JNI Direct is not going to be supported going forward. Although, I don't know if I've seen an "official" statement on that.

I think you mean JDirect, and it is not supported going forward. It only runs in Rosetta on Intel now (10.4) and is not expected to be present in future releases.



I do know that Apple is now saying that Cocoa-Java is meant as an "experimental" technology intended only for "learning" about the native Mac libraries from a Java programmer's point of view, and that future work should be done directly via JNI.

No, Apple is saying that CocoaJava (and the Java Bridge) is deprecated. No new APIs will be added to CocoaJava, and the Java Bridge will be phased out over time.



So what's the latest "best practices" on this topic? I was planning on just biting the bullet and doing all my native code in Objective- C via JNI.

ObjC via JNI is the "best practice".

Karl

--

All the opinions in this email are personal.
They are not official Microsoft statements.
I do not speak for Microsoft in any way.
I don't actually work for Microsoft.

Homepage:
     http://homepage.mac.com/khsu/index.html

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Calling NSApplication -hideOtherApplications from Java JNI not working. (From: Rob Ross <email@hidden>)
 >Re: Calling NSApplication -hideOtherApplications from Java JNI not working. (From: Michael Hall <email@hidden>)
 >Re: Calling NSApplication -hideOtherApplications from Java JNI not working. (From: Rob Ross <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.