public class BrowserControl
extends java.lang.Object
Constructor and Description |
---|
BrowserControl() |
Modifier and Type | Method and Description |
---|---|
static void |
displayURL(java.lang.String url)
Display a file in the system browser.
|
static boolean |
isWindowsPlatform()
Try to determine whether this application is running under Windows
or some other platform by examing the "os.name" property.
|
static void |
main(java.lang.String[] args)
Simple example.
|
public static void displayURL(java.lang.String url)
url
- the file's url (the url must start with either "http://"
or
"file://").public static boolean isWindowsPlatform()
public static void main(java.lang.String[] args)
args
- main args.