From 0f771e8985d361950c537aa52269746fe8ab456b Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Tue, 25 Oct 2022 13:07:19 +0100 Subject: [PATCH] JAL-3416 Making FlatLaF default for macs due to a problem with VAqua not starting on macs --- src/jalview/bin/Jalview.java | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- 1.7.10.2