JAL-3416 Making FlatLaF default for macs due to a problem with VAqua not starting...
authorBen Soares <b.soares@dundee.ac.uk>
Tue, 25 Oct 2022 12:07:19 +0000 (13:07 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Tue, 25 Oct 2022 12:07:19 +0000 (13:07 +0100)
src/jalview/bin/Jalview.java

index d1056bf..1428906 100755 (executable)
@@ -1146,12 +1146,16 @@ public class Jalview
     System.setProperty("com.apple.mrj.application.apple.menu.about.name",
             ChannelProperties.getProperty("app_name"));
     System.setProperty("apple.laf.useScreenMenuBar", "true");
+    /*
+     * broken native LAFs on (ARM?) macbooks
     set = setQuaquaLookAndFeel();
     if ((!set) || !UIManager.getLookAndFeel().getClass().toString()
             .toLowerCase(Locale.ROOT).contains("quaqua"))
     {
       set = setVaquaLookAndFeel();
     }
+     */
+    set = setFlatLookAndFeel();
     return set;
   }