use new utility class for platform info
[jalview.git] / src / jalview / appletgui / AlignViewport.java
index a4708c6..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");