From: <ha...@us...> - 2010-05-09 01:00:29
|
Revision: 13041 http://jmol.svn.sourceforge.net/jmol/?rev=13041&view=rev Author: hansonr Date: 2010-05-09 01:00:23 +0000 (Sun, 09 May 2010) Log Message: ----------- Modified Paths: -------------- trunk/Jmol/src/org/jmol/viewer/Viewer.java Modified: trunk/Jmol/src/org/jmol/viewer/Viewer.java =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Viewer.java 2010-05-09 00:51:37 UTC (rev 13040) +++ trunk/Jmol/src/org/jmol/viewer/Viewer.java 2010-05-09 01:00:23 UTC (rev 13041) @@ -4885,9 +4885,13 @@ if (!haveDisplay) return; // Eval - if (appConsole == null) - getProperty("DATA_API", "getAppConsole", Boolean.TRUE); - appConsole.setVisible(showConsole); + try { + if (appConsole == null) + getProperty("DATA_API", "getAppConsole", Boolean.TRUE); + appConsole.setVisible(showConsole); + } catch (Exception e) { + // no console for this client... + } } public void clearConsole() { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |