JAL-2800 start on new tree calc window
authorkjvdheide <kjvanderheide@dundee.ac.uk>
Mon, 29 Jan 2018 17:41:58 +0000 (17:41 +0000)
committerkjvdheide <kjvanderheide@dundee.ac.uk>
Mon, 29 Jan 2018 17:41:58 +0000 (17:41 +0000)
src/jalview/gui/TreeCalculationFrame.java [new file with mode: 0644]
src/jalview/gui/TreeCalculationPanel.java [new file with mode: 0644]

diff --git a/src/jalview/gui/TreeCalculationFrame.java b/src/jalview/gui/TreeCalculationFrame.java
new file mode 100644 (file)
index 0000000..b4459e1
--- /dev/null
@@ -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 (file)
index 0000000..9cdec7b
--- /dev/null
@@ -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());
+
+  }
+}