// Launches the default browser to display a URL.
import java.awt.Desktop;
...
try
   {
   Desktop.browse( new URL( "http://www.mindprod.com/index.html" ) );
   }
catch ( MalformedURLException e1 )
   {
   e1.printStackTrace();
   }
catch ( DesktopException e2 )
   {
   e2.printStackTrace();
   }