Colbert, could you be more specific? I.e. what exactly you want to do in Java and which example you refer to?
*** Bug 234747 has been marked as a duplicate of this bug. ***
Marking invalid: no input from the reporter