init Jmol with 'SmarterJmolAdapter'
authorjprocter <Jim Procter>
Wed, 25 Aug 2010 14:14:31 +0000 (14:14 +0000)
committerjprocter <Jim Procter>
Wed, 25 Aug 2010 14:14:31 +0000 (14:14 +0000)
src/jalview/gui/AppJmol.java

index 9e1e35a..6312cb1 100644 (file)
@@ -187,7 +187,7 @@ public class AppJmol extends GStructureViewer implements Runnable,
     this.getContentPane().add(renderPanel, java.awt.BorderLayout.CENTER);
     jalview.gui.Desktop.addInternalFrame(this, jmb.getViewerTitle(),
             getBounds().width, getBounds().height);
-    jmb.allocateViewer(renderPanel, "", null, null, "");
+    jmb.allocateViewer(renderPanel, true, "", null, null, "");
     jmb.newJmolPopup(true, "Jmol", true);
     jmb.evalStateCommand(command);
     jmb.setFinishedInit(true);