From 7213fbb9cab13572b3717d5cc6c18eec8b59d18f Mon Sep 17 00:00:00 2001 From: kjvdheide Date: Fri, 2 Feb 2018 15:28:47 +0000 Subject: [PATCH] JAL-2800 first go at new calculation frame --- src/jalview/gui/AlignFrame.java | 3 ++- src/jalview/gui/TreeCalculationFrame.java | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index 298688b..3d73e8a 100644 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -5582,7 +5582,8 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener, { if (alignPanel.getCalculationDialog() == null) { - new CalculationChooser(AlignFrame.this); + new CalculationChooser(this); + new TreeCalculationFrame(this); } } } diff --git a/src/jalview/gui/TreeCalculationFrame.java b/src/jalview/gui/TreeCalculationFrame.java index e037d22..873d2b5 100644 --- a/src/jalview/gui/TreeCalculationFrame.java +++ b/src/jalview/gui/TreeCalculationFrame.java @@ -5,7 +5,8 @@ import java.awt.event.FocusEvent; import javax.swing.JInternalFrame; -public class TreeCalculationFrame extends JInternalFrame +public class TreeCalculationFrame extends JInternalFrame // extends + // OptsAndParamsPage? { private AlignFrame af; @@ -34,6 +35,10 @@ public class TreeCalculationFrame extends JInternalFrame } }); + Desktop.addInternalFrame( + this, "Phylogenetic inference chooser", 400, 400, false + ); + } -- 1.7.10.2