Bug #2809
closedBrowser Display actor fails for Mac/Linux
0%
Description
Browser Display actor does not detect MacOSX and always uses Netscape for Linux systems. Need to detect the default browser and use that.
see http://www.centerkey.com/java/browser/
for java code that detects default browser and works across multiple OSs
Updated by Christopher Brooks over 17 years ago
See also ptII/ptolemy/actor/gui/BrowserLauncher.java, which is based
on fairly old code.
http://www.javaworld.com/javaworld/javatips/jw-javatip66.html (1/99)
http://browserlaunch.sourceforge.net/ is obsolete, replaced by
http://browserlaunch2.sourceforge.net/
It would be nice to have combine code if possible.
_Christopher
Updated by Dan Higgins over 17 years ago
This bug has been fixed by adding code from BareBonesBrowserLauncher (http://www.centerkey.com/java/browser/) to BrowserDisplay actor.
Note that using the existing PtII BrowserLauncher code did not seem to work when trying to open a png file.