Try the following code. I modified some tutorial code which will load a URL into a browser from a
Java app.
Note: If somebody knows the original authors name I'd like to give credit in my code to him. I modified his code and am releasing my code under the GPL. There is more notes in the comments.
Have fun!