Description: get rid of Quaqua look and feel, only licensed for Mac Author: Pierre Gruet Forwarded: not-needed Last-Update: 2020-11-14 --- a/src/jalview/bin/Jalview.java +++ b/src/jalview/bin/Jalview.java @@ -1294,7 +1294,7 @@ // "mac" or "flat" // If not set (or chosen laf fails), use the normal SystemLaF and if on // Mac, - // try Quaqua/Vaqua. + // try Vaqua. String lafProp = System.getProperty("laf"); String lafSetting = Cache.getDefault("PREFERRED_LAF", null); String laf = "none"; @@ -1582,15 +1582,6 @@ 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; }