From 0eb215aea41fe7d20c16508a9264e1bf9a290f24 Mon Sep 17 00:00:00 2001 From: kjvdheide Date: Mon, 29 Jan 2018 17:41:58 +0000 Subject: [PATCH] JAL-2800 start on new tree calc window --- src/jalview/gui/TreeCalculationFrame.java | 29 +++++++++++++++++++++++++++++ src/jalview/gui/TreeCalculationPanel.java | 25 +++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 src/jalview/gui/TreeCalculationFrame.java create mode 100644 src/jalview/gui/TreeCalculationPanel.java diff --git a/src/jalview/gui/TreeCalculationFrame.java b/src/jalview/gui/TreeCalculationFrame.java new file mode 100644 index 0000000..b4459e1 --- /dev/null +++ b/src/jalview/gui/TreeCalculationFrame.java @@ -0,0 +1,29 @@ +package jalview.gui; + +import java.awt.BorderLayout; + +import javax.swing.JInternalFrame; + +public class TreeCalculationFrame extends JInternalFrame +{ + private TreeCalculationPanel treeCalcPanel; + + public TreeCalculationFrame(AlignFrame alignFrame) + { + treeCalcPanel = new TreeCalculationPanel(alignFrame); + init(); + + + } + + private void init() + { + this.setContentPane(treeCalcPanel); + setLayout(new BorderLayout()); + + + + } + + +} diff --git a/src/jalview/gui/TreeCalculationPanel.java b/src/jalview/gui/TreeCalculationPanel.java new file mode 100644 index 0000000..9cdec7b --- /dev/null +++ b/src/jalview/gui/TreeCalculationPanel.java @@ -0,0 +1,25 @@ +package jalview.gui; + +import java.awt.BorderLayout; + +import javax.swing.JPanel; + +public class TreeCalculationPanel extends JPanel +{ + private AlignFrame af; + + private static final int MIN_TREE_SELECTION = 3; + + + protected TreeCalculationPanel(AlignFrame alignFrame) + { + af = alignFrame; + init(); + } + + private void init() + { + setLayout(new BorderLayout()); + + } +} -- 1.7.10.2