From: kjvdheide Date: Thu, 12 Oct 2017 17:15:20 +0000 (+0100) Subject: Inference tab disabled and node frames now appear center of Aptx X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=60ff1de7026c288116202162d99b77ad7a6ba4ba;p=jalview.git Inference tab disabled and node frames now appear center of Aptx --- 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 );