From: amwaterhouse Date: Tue, 4 Apr 2006 09:31:17 +0000 (+0000) Subject: Set current tree when ready X-Git-Tag: Release_2_08~86 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=6efee133896c4f98ffafc68cf165bfc44a596580;p=jalview.git Set current tree when ready --- diff --git a/src/jalview/gui/TreePanel.java b/src/jalview/gui/TreePanel.java index 9c1e42e..1b01606 100755 --- a/src/jalview/gui/TreePanel.java +++ b/src/jalview/gui/TreePanel.java @@ -56,6 +56,7 @@ public class TreePanel extends GTreePanel int end; TreeCanvas treeCanvas; NJTree tree; + AlignViewport av; /** * Creates a new TreePanel object. @@ -134,6 +135,8 @@ public class TreePanel extends GTreePanel } }); + this.av = av; + TreeLoader tl = new TreeLoader(newTree); tl.start(); @@ -169,6 +172,8 @@ public class TreePanel extends GTreePanel treeCanvas.repaint(); + av.setCurrentTree(tree); + } }