jalview.util.BrowserLauncher.openURL(\r
"http://srs.ebi.ac.uk/srs7bin/cgi-bin/wgetz?-e+[swall-id:" + id +\r
"]+-vn+2");\r
- }catch(Exception ex){System.err.println(\r
- "Try adding the jalview.browser property to your jalview.properties file:\n"\r
- +"jalview.browser=firefox"); ex.printStackTrace();}\r
+ }catch(Exception ex){\r
+ // TODO: JBPNote : state dependent error message for real browserLaunch problems rather than unix misconfiguration.\r
+ System.err.println(\r
+ ex.getMessage()+"\nUnixers: Try adding this jalview.browser property line \n"\r
+ +"in your jalview.properties file (/usr/local/bin/firefox is an exanmple browser path):\n"\r
+ +"jalview.browser=/usr/local/bin/firefox\n");\r
+ //ex.printStackTrace();\r
+ }\r
}\r
\r
}\r