TreeCanvas treeCanvas;\r
NJTree tree;\r
\r
+ public NJTree getTree()\r
+ {\r
+ return tree;\r
+ }\r
\r
public TreePanel(AlignViewport av, Vector seqVector, String type, String pwtype, int s, int e)\r
{\r
}\r
\r
tree = new NJTree(seq, type, pwtype, start, end);\r
- av.setCurrentTree(tree);\r
\r
treeCanvas = new TreeCanvas(av, tree, scrollPane, longestName);\r
\r
}\r
// This constructor matches sequence names to treenodes and sets up the tree layouts.\r
tree = new NJTree(seq, newtree);\r
- av.setCurrentTree(tree);\r
-\r
\r
tree.reCount(tree.getTopNode());\r
tree.findHeight(tree.getTopNode());\r