cello.jtablet.installer
Class BrowserLauncher
java.lang.Object
cello.jtablet.installer.BrowserLauncher
public class BrowserLauncher
- 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
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
- Version:
- 2.0, May 26, 2009
Method Summary |
static void |
browse(URI uri)
Opens the specified web page in a web browser |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BrowserLauncher
public BrowserLauncher()
browse
public static void browse(URI uri)
- Opens the specified web page in a web browser
- Parameters:
uri
- A web address (URL) of a web page (ex: "http://www.google.com/")