By Alvin Alexander. Last updated: June 4, 2016
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.