minor Platform.isAMac() clean up
[jalview.git] / src / jalview / jbgui / GSplitFrame.java
index 4b15050..0549f17 100644 (file)
@@ -109,7 +109,7 @@ public class GSplitFrame extends JInternalFrame
    */
   protected void hideTitleBars()
   {
-    if (new Platform().isAMac())
+    if (Platform.isAMac())
     {
       // this saves some space - but doesn't hide the title bar
       topFrame.putClientProperty("JInternalFrame.isPalette", true);