This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
No. That's not in the spirit of these forums; people prefer you learn what you need to do and apply that knowledge to do it yourself, rather than blindly copying from someone else. We will however be happy to help you solve any problems you run into doing this.
The steps you need are probably something like this:
I was faced with a similar situation some time back. After some search on Google and Javaranch and going through some of the suggested solutions, I felt the best (and easiest) solution to this is to use IFRAMEs to load a class which calls the method to retieve the corresponding values. This also helps performance-wise, BTW.