From: kjvdheide Date: Mon, 29 Jan 2018 17:41:58 +0000 (+0000) Subject: JAL-2800 start on new tree calc window X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=0eb215aea41fe7d20c16508a9264e1bf9a290f24;p=jalview.git JAL-2800 start on new tree calc window --- 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()); + + } +}