Mac Cocoa-Java API is deprecated

Wow, I missed this news from last year: the Mac OS X Cocoa-Java API is deprecated.

I know that when I was reading Cocoa Programming for Mac OS X earlier this year the author (Hillegass) said not to use it, but I didn't realize it was a total no-no. As the first link says, use JNI instead.