From: kjvdheide Date: Tue, 30 Jan 2018 17:05:15 +0000 (+0000) Subject: JAL-1953 added configuration font setters X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=346ea75d3b81118f3b724c732eff9b2fbc706f1e;p=jalview.git JAL-1953 added configuration font setters --- diff --git a/src/jalview/ext/archaeopteryx/AptxInit.java b/src/jalview/ext/archaeopteryx/AptxInit.java index 6bc8497..f06deb3 100644 --- a/src/jalview/ext/archaeopteryx/AptxInit.java +++ b/src/jalview/ext/archaeopteryx/AptxInit.java @@ -50,12 +50,12 @@ public final class AptxInit public final static Configuration APTX_CONFIG = new Configuration( CONFIG_LOC, false, false); - // static - // { - // APTX_CONFIG.setBaseFontFamilyName( - // Desktop.instance.getFont().getFamily().replaceAll(" ", "_")); - // APTX_CONFIG.setBaseFontSize(Desktop.instance.getFont().getSize()); - // } + static + { + APTX_CONFIG.setBaseFontSize(Desktop.instance.getFont().getSize()); + APTX_CONFIG + .setBaseFontFamilyName(Desktop.instance.getFont().getFamily()); + } private final static boolean VALIDATE_PHYLOXML_XSD = APTX_CONFIG .isValidatePhyloXmlAgainstSchema(); @@ -82,6 +82,7 @@ public final class AptxInit Desktop.instance.startLoading(treeTitle); } + Phylogeny aptxPhylogeny = Phylogeny .createInstanceFromNhxString(nhxString); aptxPhylogeny.setName(treeTitle);