This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I don't see why this belongs in the Swing / JFC / AWT forum... I don't see any mention of anything involving one of those topics. I'm going to move this post to Java in General (Intermediate). I really don't know that much about JNI, but I think you're going to need to provide a little more deatail about what's going on if someone is going to be able to help you with it...
Write once, run anywhere, because there's nowhere to hide! - /. A.C.