From: Ben Soares Date: Tue, 25 Oct 2022 12:07:19 +0000 (+0100) Subject: JAL-3416 Making FlatLaF default for macs due to a problem with VAqua not starting... X-Git-Tag: Release_2_11_2_6~9 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=0f771e8985d361950c537aa52269746fe8ab456b;p=jalview.git JAL-3416 Making FlatLaF default for macs due to a problem with VAqua not starting on macs --- diff --git a/src/jalview/bin/Jalview.java b/src/jalview/bin/Jalview.java index d1056bf..1428906 100755 --- a/src/jalview/bin/Jalview.java +++ b/src/jalview/bin/Jalview.java @@ -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; }