See this article. As that site looks a little ropy, here is the relevant code extracted.
Note that ArrayHandler is the name of the Java class for which a native method is being implemented, in this example. It is not something you'll use. [ November 16, 2004: Message edited by: Peter Chase ]
Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.