JAL-2800 first go at new calculation frame
authorkjvdheide <kjvanderheide@dundee.ac.uk>
Fri, 2 Feb 2018 15:28:47 +0000 (15:28 +0000)
committerkjvdheide <kjvanderheide@dundee.ac.uk>
Fri, 2 Feb 2018 15:28:47 +0000 (15:28 +0000)
src/jalview/gui/AlignFrame.java
src/jalview/gui/TreeCalculationFrame.java

index 298688b..3d73e8a 100644 (file)
@@ -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);
     }
   }
 }
index e037d22..873d2b5 100644 (file)
@@ -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
+    );
+
 
 
   }