Clean up of the Java example code

I cleaned up the Java sample code base a bit.

Especially the "BareBonesBrowserLaunch" class seems really unnecessary. Java 6 has excellent support for opening the user's preferred web browser using java.util.Desktop#browser(java.net.URI) [1].

I also added a missing @Override annotation, removed an unnecessary cast and polished the code just a little here and there. ;)



[1] Javadoc for java.awt.Desktop:
* http://docs.oracle.com/javase/6/docs/api/java/awt/Desktop.html#browse(java.net.URI)