X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=forester%2Fjava%2Fsrc%2Forg%2Fforester%2Farchaeopteryx%2FAptxUtil.java;h=3ac6c56bc89d6fb436d7c8da71448c62d1f43481;hb=b6366fd2ac865514d2ceacb63432dac532147a85;hp=b2c3dd849557588b203a4ed4be00d75f721d877f;hpb=4e9354fda88a25a2d5197cc7cf3f576f263aa49d;p=jalview.git diff --git a/forester/java/src/org/forester/archaeopteryx/AptxUtil.java b/forester/java/src/org/forester/archaeopteryx/AptxUtil.java index b2c3dd8..3ac6c56 100644 --- a/forester/java/src/org/forester/archaeopteryx/AptxUtil.java +++ b/forester/java/src/org/forester/archaeopteryx/AptxUtil.java @@ -112,8 +112,8 @@ public final class AptxUtil { /** * Returns true if at least one branch has a length larger than zero. - * - * + * + * * @param phy */ final static public boolean isHasAtLeastOneBranchLengthLargerThanZero( final Phylogeny phy ) { @@ -271,7 +271,7 @@ public final class AptxUtil { final ControlPanel ac, final GraphicsExportType type, final Options options ) throws IOException { - tree_panel.calcParametersForPainting( width, height, true ); + tree_panel.calcParametersForPainting( width, height ); tree_panel.resetPreferredSize(); tree_panel.repaint(); final RenderingHints rendering_hints = new RenderingHints( RenderingHints.KEY_RENDERING, @@ -572,8 +572,8 @@ public final class AptxUtil { /** * Exits with -1. - * - * + * + * * @param message * to message to be printed */ @@ -801,7 +801,7 @@ public final class AptxUtil { if ( options.isGraphicsExportVisibleOnly() ) { throw new IllegalArgumentException( "cannot export visible rectangle only without exporting in actual size" ); } - tree_panel.calcParametersForPainting( options.getPrintSizeX(), options.getPrintSizeY(), true ); + tree_panel.calcParametersForPainting( options.getPrintSizeX(), options.getPrintSizeY() ); tree_panel.resetPreferredSize(); tree_panel.repaint(); } @@ -866,7 +866,7 @@ public final class AptxUtil { if ( options.isGraphicsExportVisibleOnly() ) { throw new IllegalArgumentException( "cannot export visible rectangle only without exporting in actual size" ); } - tree_panel.calcParametersForPainting( options.getPrintSizeX(), options.getPrintSizeY(), true ); + tree_panel.calcParametersForPainting( options.getPrintSizeX(), options.getPrintSizeY() ); tree_panel.resetPreferredSize(); tree_panel.repaint(); }