{
ArchaeopteryxTreeBuilder aptxTreeBuilder = new ArchaeopteryxTreeBuilder();
Phylogeny aptxTree = aptxTreeBuilder.buildAptxTree(calculatedTree);
- MainFrame aptxApp = Archaeopteryx.createApplication(aptxTree);
+
+ Phylogeny[] aptxTrees = { aptxTree }; // future possibility to load in
+ // several trees simultaneously
+
+ MainFrame aptxApp = Archaeopteryx.createApplication(aptxTrees,
+ "_aptx_jalview_configuration_file", "hoi");
start(aptxApp);
}
{
int width = 400;
int height = 550;
- aptxApp.setMinimumSize(new Dimension(width - 30, height - 50)); // doesn't
- // work
- // as it
- // gets
- // overridden
- // during
- // addInternalFrame?
-
- Desktop.addInternalFrame(aptxApp, "Archaeopteryx Tree View", width,
- height, true);
+ aptxApp.setMinimumSize(new Dimension(width, height));
+
+ Desktop.addInternalFrame(aptxApp, "Archaeopteryx Tree View", true,
+ width, height, true, true);
}