From: kjvdheide Date: Fri, 2 Feb 2018 15:28:47 +0000 (+0000) Subject: JAL-2800 first go at new calculation frame X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=7213fbb9cab13572b3717d5cc6c18eec8b59d18f;p=jalview.git JAL-2800 first go at new calculation frame --- 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 + ); + }