Inference tab disabled and node frames now appear center of Aptx
authorkjvdheide <kjvanderheide@dundee.ac.uk>
Thu, 12 Oct 2017 17:15:20 +0000 (18:15 +0100)
committerkjvdheide <kjvanderheide@dundee.ac.uk>
Thu, 12 Oct 2017 17:15:20 +0000 (18:15 +0100)
forester/java/src/org/forester/archaeopteryx/AptxConstants.java
forester/java/src/org/forester/archaeopteryx/NodeFrame.java

index 479d846..c9aabc9 100644 (file)
@@ -36,7 +36,7 @@ import org.forester.util.ForesterConstants;
 
 public final class AptxConstants {
 
-    final static boolean        __ALLOW_PHYLOGENETIC_INFERENCE                                = true;
+    final static boolean        __ALLOW_PHYLOGENETIC_INFERENCE                                = false; //disabled for Jalview
     public final static String  PRG_NAME                                                      = "Archaeopteryx";
     final static String         VERSION                                                       = "0.9921 beta";
     final static String         PRG_DATE                                                      = "170712";
index cf65155..fd15af0 100644 (file)
@@ -58,6 +58,7 @@ final class NodeFrame extends javax.swing.JFrame {
                 close();
             }
         } );
+        this.setLocationRelativeTo( tp );
         setResizable( true );
         nodepanel.setVisible( true );
         setVisible( true );
@@ -91,6 +92,7 @@ final class NodeFrame extends javax.swing.JFrame {
                 dispose();
             }
         } );
+        this.setLocationRelativeTo( tp );
         setResizable( false );
         nodepanel.setVisible( true );
         setVisible( true );