|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.bioquery.gui.BrowserControl
This class attempts to open the system default web browser and display a web page
when a complete URL is passed to the displayURL method.
| Constructor Summary | |
BrowserControl()
|
|
| Method Summary | |
static boolean |
displayURL(java.lang.String url)
Display a file in the system browser. |
static boolean |
isMac()
Try to determine whether this application is running on a Macintosh OS or some other platform by examing the "os.name" property. |
static boolean |
isWindows()
Try to determine whether this application is running under Windows or some other platform by examing the "os.name" property. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BrowserControl()
| Method Detail |
public static boolean displayURL(java.lang.String url)
url - the file's url (the url must start with either "http://" or
"file://").public static boolean isWindows()
public static boolean isMac()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||