import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertTrue;
+import jalview.gui.Desktop;
+
+import org.forester.archaeopteryx.Archaeopteryx;
import org.forester.archaeopteryx.MainFrame;
import org.forester.archaeopteryx.TreePanel;
import org.forester.phylogeny.Phylogeny;
@BeforeClass(dependsOnMethods = { "setUpJalview", "setUpTree" })
public void createTreeView()
{
- treeView = ArchaeopteryxInit.createUnboundInstance(inputTree);
+ treeView = Archaeopteryx.createApplication(inputTree);
aptx = (MainFrame) treeView; // pretty ugly
treePanel = aptx.getMainPanel().getCurrentTreePanel();
tree = treePanel.getPhylogeny();
+
+ Desktop.addInternalFrame(aptx, "Archaeopteryx", 500, 500);
+
}