Class BareBonesBrowserLaunch

java.lang.Object
games.stendhal.client.gui.BareBonesBrowserLaunch

public class BareBonesBrowserLaunch extends 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 = "https://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
Version:
3.0, February 7, 2010
  • Constructor Details

    • BareBonesBrowserLaunch

      public BareBonesBrowserLaunch()
  • Method Details

    • openURL

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