From d701b2130b4363f33b8ecd426fd40d99241a190e Mon Sep 17 00:00:00 2001 From: jprocter Date: Wed, 25 Aug 2010 14:14:31 +0000 Subject: [PATCH] init Jmol with 'SmarterJmolAdapter' --- src/jalview/gui/AppJmol.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/gui/AppJmol.java b/src/jalview/gui/AppJmol.java index 9e1e35a..6312cb1 100644 --- a/src/jalview/gui/AppJmol.java +++ b/src/jalview/gui/AppJmol.java @@ -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); -- 1.7.10.2