JAL-3416 make flat default laf for linux
authorBen Soares <b.soares@dundee.ac.uk>
Tue, 5 Oct 2021 17:53:16 +0000 (18:53 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Tue, 5 Oct 2021 17:53:16 +0000 (18:53 +0100)
src/jalview/bin/Jalview.java

index d927275..08a8c5b 100755 (executable)
@@ -941,7 +941,7 @@ public class Jalview
       setSystemLookAndFeel();
       if (Platform.isLinux())
       {
-        setMetalLookAndFeel();
+        setFlatLookAndFeel();
       }
       if (Platform.isMac())
       {
@@ -1038,7 +1038,7 @@ public class Jalview
       UIManager.put("TabbedPane.showTabSeparators", true);
       UIManager.put("TabbedPane.tabSeparatorsFullHeight", true);
       UIManager.put("TabbedPane.tabsOverlapBorder", true);
-      UIManager.put("TabbedPane.hasFullBorder", true);
+      //UIManager.put("TabbedPane.hasFullBorder", true);
       UIManager.put("TabbedPane.tabLayoutPolicy", "scroll");
       UIManager.put("TabbedPane.scrollButtonsPolicy", "asNeeded");
       UIManager.put("TabbedPane.smoothScrolling", true);