package org.cipres.kepler.testcase; // Forester packages import forester.atv.ATVjframe; import forester.tree.Tree; public class TestTreeVizForesterActor { // tree description (Newick) private String _treeDescription; // set the tree description public void setTreeNewick(String treeNewick) { _treeDescription=treeNewick; } public void showTree() { try { // create the tree in Forester Tree displayedTree = new forester.tree.Tree(_treeDescription); // create the Forester tree view window ATVjframe atvframe = new ATVjframe(displayedTree); //atvframe.setTitle(treeDescription); // display the tree atvframe.showWhole(); } catch (Exception e) { e.printStackTrace(); } } }