if (osname.startsWith("windows")) {
FileOpener winFileOpener = new WindowsFileOpener();
winFileOpener.open(e.getURL().toString());
} else if (osname.startsWith("mac")) {
FileOpener winFileOpener = new MacOSXFileOpener();
winFileOpener.open(e.getURL().toString());
} else if (osname.startsWith("linux")) {
Runtime.getRuntime().exec(new String[] {"/usr/bin/mozilla",
e.getURL().toString()});
}
} catch(Exception exc) {