Apple Macintosh graphics are slow, turn off anti-alias.
[jalview.git] / forester / java / src / org / forester / archaeopteryx / tools / ImageLoader.java
index 777dacf..7b51d56 100644 (file)
@@ -21,7 +21,7 @@
 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
 //
 // Contact: phylosoft @ gmail . com
-// WWW: www.phylosoft.org/forester
+// WWW: https://sites.google.com/site/cmzmasek/home/software/forester
 
 package org.forester.archaeopteryx.tools;
 
@@ -46,6 +46,7 @@ public class ImageLoader implements Runnable {
 
     private final TreePanel            _tp;
     private static final BufferedImage PLACEHOLDER = new BufferedImage( 1, 1, BufferedImage.TYPE_INT_RGB );
+    private final static boolean       DEBUG       = false;
 
     public ImageLoader( final TreePanel tp ) {
         _tp = tp;
@@ -82,8 +83,8 @@ public class ImageLoader implements Runnable {
                                         || uri_str.endsWith( ".gif" ) || uri_str.endsWith( ".bmp" ) ) ) {
                             image_map.put( uri_str, PLACEHOLDER );
                             BufferedImage bi = null;
-                            if ( !Constants.__RELEASE && !Constants.__SNAPSHOT_RELEASE ) {
-                                System.out.println( "accessing:" + uri );
+                            if ( DEBUG ) {
+                                System.out.println( "accessing: " + uri );
                             }
                             try {
                                 bi = ImageIO.read( uri.getValue().toURL() );