JAL-3416 updated FlatLaf to 1.6 and added some tabbed pane properties
authorBen Soares <b.soares@dundee.ac.uk>
Mon, 4 Oct 2021 19:13:00 +0000 (20:13 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Mon, 4 Oct 2021 19:13:00 +0000 (20:13 +0100)
j11lib/flatlaf-0.46.jar [deleted file]
j11lib/flatlaf-1.6.jar [new file with mode: 0644]
j8lib/flatlaf-1.6.jar [new file with mode: 0644]
src/jalview/bin/Jalview.java

diff --git a/j11lib/flatlaf-0.46.jar b/j11lib/flatlaf-0.46.jar
deleted file mode 100644 (file)
index 4f6e06b..0000000
Binary files a/j11lib/flatlaf-0.46.jar and /dev/null differ
diff --git a/j11lib/flatlaf-1.6.jar b/j11lib/flatlaf-1.6.jar
new file mode 100644 (file)
index 0000000..b1d1d90
Binary files /dev/null and b/j11lib/flatlaf-1.6.jar differ
diff --git a/j8lib/flatlaf-1.6.jar b/j8lib/flatlaf-1.6.jar
new file mode 100644 (file)
index 0000000..b1d1d90
Binary files /dev/null and b/j8lib/flatlaf-1.6.jar differ
index 73227d3..d927275 100755 (executable)
@@ -1037,6 +1037,12 @@ 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.tabLayoutPolicy", "scroll");
+      UIManager.put("TabbedPane.scrollButtonsPolicy", "asNeeded");
+      UIManager.put("TabbedPane.smoothScrolling", true);
+      UIManager.put("TabbedPane.tabWidthMode", "compact");
       UIManager.put("TabbedPane.selectedBackground", Color.white);
     }
     return set;