use new utility class for platform info
[jalview.git] / src / jalview / appletgui / AlignViewport.java
index 2996c98..f543dd9 100755 (executable)
@@ -122,11 +122,8 @@ public class AlignViewport
     this.endSeq = al.getHeight() - 1;
     setFont(font);
 
-    if (System.getProperty("os.name").startsWith("Mac"))
-    {
-      MAC = true;
-    }
-
+    MAC = new jalview.util.Platform().isAMac();
+    
     if (applet != null)
     {
       String param = applet.getParameter("showFullId");
@@ -276,7 +273,7 @@ public class AlignViewport
           {
             if (ap != null)
             {
-              ap.paintAlignment(true);
+              ap.paintAlignment(false);
             }
             Thread.sleep(200);
           }
@@ -454,7 +451,7 @@ public class AlignViewport
         {
           if (ap != null)
           {
-            ap.paintAlignment(true);
+            ap.paintAlignment(false);
           }
 
           Thread.sleep(200);
@@ -671,6 +668,7 @@ public class AlignViewport
   }
 
   java.awt.Frame nullFrame;
+  protected FeatureSettings featureSettings=null;
   public void setFont(Font f)
   {
     font = f;