JAL-3026 Jmol functioning; some issues
[jalview.git] / src / jalview / ext / jmol / JmolParser.java
index e94da73..542b2bc 100644 (file)
@@ -135,8 +135,7 @@ public class JmolParser extends StructureFile implements JmolStatusListener
          * see http://wiki.jmol.org/index.php/Jmol_Application
          */
         
-        viewer = (Viewer) JmolViewer.allocateViewer(null, null, null, null,
-                null, "-x -o -n", this);
+        viewer = JalviewJmolBinding.getJmolData(this);
         // ensure the 'new' (DSSP) not 'old' (Ramachandran) SS method is used
         viewer.setBooleanProperty("defaultStructureDSSP", true);
       } catch (ClassCastException x)