From 8db51f5678b9b42090888ef363248c4f7960fbd8 Mon Sep 17 00:00:00 2001 From: DarwinNE Date: Sun, 26 Apr 2020 16:02:30 +0200 Subject: [PATCH] Use thick separators for JSplitPane's, as the interface is clearer (#177). --- NEWS.txt | 2 ++ src/net/sourceforge/fidocadj/FidoFrame.java | 1 + src/net/sourceforge/fidocadj/macropicker/MacroTree.java | 4 +++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/NEWS.txt b/NEWS.txt index 69dc39f5..847e414e 100644 --- a/NEWS.txt +++ b/NEWS.txt @@ -13,9 +13,11 @@ Version 0.24.8 - Add norator and nullator symbols for the EY library (issue #167). - More precise handling of dashed curves (issue #161). - Correct handling of accented characters for Java >7 (issue #149). +- Fix incompatibility with Java versions >=9 (issue #150). Version 0.24.7 -------------- +Requires Java 1.7 (April 26, 2017) - Improvement of the building tools and scripts. - Improved backwards compatibility with PCB tracks with non integer size (#107). diff --git a/src/net/sourceforge/fidocadj/FidoFrame.java b/src/net/sourceforge/fidocadj/FidoFrame.java index edb315e9..434735c2 100644 --- a/src/net/sourceforge/fidocadj/FidoFrame.java +++ b/src/net/sourceforge/fidocadj/FidoFrame.java @@ -593,6 +593,7 @@ public void init() // Useful for Quaqua with MacOSX. //splitPane.putClientProperty("Quaqua.SplitPane.style","bar"); + splitPane.putClientProperty("JSplitPane.style","thick"); Dimension windowSize = getSize(); cc.setPreferredSize(new Dimension(windowSize.width*85/100,100)); diff --git a/src/net/sourceforge/fidocadj/macropicker/MacroTree.java b/src/net/sourceforge/fidocadj/macropicker/MacroTree.java index 587e951b..a799d9a9 100644 --- a/src/net/sourceforge/fidocadj/macropicker/MacroTree.java +++ b/src/net/sourceforge/fidocadj/macropicker/MacroTree.java @@ -50,7 +50,7 @@ along with FidoCadJ. If not, @see http://www.gnu.org/licenses/. - Copyright 2014 Kohta Ozaki, Davide Bucci + Copyright 2014-2020 Kohta Ozaki, Davide Bucci @author Kohta Ozaki, Davide Bucci @@ -100,6 +100,8 @@ public MacroTree(LibraryModel libraryModel, LayerModel layerModel) private void initComponents() { JSplitPane splitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT); + splitPane.putClientProperty("JSplitPane.style","thick"); + Box topBox = Box.createVerticalBox(); setLayout(new GridLayout(1, 0));