From 60ff1de7026c288116202162d99b77ad7a6ba4ba Mon Sep 17 00:00:00 2001 From: kjvdheide Date: Thu, 12 Oct 2017 18:15:20 +0100 Subject: [PATCH] Inference tab disabled and node frames now appear center of Aptx --- forester/java/src/org/forester/archaeopteryx/AptxConstants.java | 2 +- forester/java/src/org/forester/archaeopteryx/NodeFrame.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/forester/java/src/org/forester/archaeopteryx/AptxConstants.java b/forester/java/src/org/forester/archaeopteryx/AptxConstants.java index 479d846..c9aabc9 100644 --- a/forester/java/src/org/forester/archaeopteryx/AptxConstants.java +++ b/forester/java/src/org/forester/archaeopteryx/AptxConstants.java @@ -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"; diff --git a/forester/java/src/org/forester/archaeopteryx/NodeFrame.java b/forester/java/src/org/forester/archaeopteryx/NodeFrame.java index cf65155..fd15af0 100644 --- a/forester/java/src/org/forester/archaeopteryx/NodeFrame.java +++ b/forester/java/src/org/forester/archaeopteryx/NodeFrame.java @@ -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 ); -- 1.7.10.2