dcsimg

How do I start up a browser from my Java application?

John Zukowski

While the Swing JEditorPane and the ICE Browser component support displaying HTML, sometimes you just want to use a real browser. JavaWorld tip 66 (http://www.javaworld.com/javaworld/javatips/jw-javatip66.html and the BrowserLauncher from Stanford (http://www.stanford.edu/%7Eejalbert/software/BrowserLauncher/) offer two different alternatives.