use new utility class for platform info
[jalview.git] / src / jalview / appletgui / AnnotationPanel.java
index 41665b5..d4055a5 100755 (executable)
@@ -56,11 +56,8 @@ public class AnnotationPanel
 
   public AnnotationPanel(AlignmentPanel ap)
   {
-    if (System.getProperty("os.name").startsWith("Mac"))
-    {
-      MAC = true;
-    }
-
+    MAC = new jalview.util.Platform().isAMac();
+    
     this.ap = ap;
     av = ap.av;
     setLayout(null);