Class BareBonesBrowserLaunch


  • public class BareBonesBrowserLaunch
    extends java.lang.Object
    Bare Bones Browser Launch for Java
    Utility class to open a web page from a Swing application in the user's default browser.
    Supports: Mac OS X, GNU/Linux, Unix, Windows XP/Vista/7
    Example Usage:
        String url = "http://www.google.com/";
        BareBonesBrowserLaunch.openURL(url);
    Latest Version: www.centerkey.com/java/browser
    Author: Dem Pilafian
    Public Domain Software -- Free to Use as You Like
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void openURL​(java.lang.String url)
      Opens the specified web page in the user's default browser
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BareBonesBrowserLaunch

        public BareBonesBrowserLaunch()
    • Method Detail

      • openURL

        public static void openURL​(java.lang.String url)
        Opens the specified web page in the user's default browser
        Parameters:
        url - A web address (URL) of a web page (ex: "http://www.google.com/")