So my problem boils down to this ... By default, delimiters look ugly, plus I would like to add a shortcut to it (in the sense of I-want-text-on-it, and not in "adding JLabel to my layout" makes sense ") I see that you can change the border on the separator of the shared panels, but when I do this, it removes the one-touch arrows that I want to keep.
Any thoughts on how I can have both?
Here is SSCCE, which demonstrates the default behavior and what happens when I change the delimiter border:
import javax.swing.*; import javax.swing.plaf.basic.BasicSplitPaneDivider; import javax.swing.plaf.basic.BasicSplitPaneUI; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class SplitPaneFun { public static void main(String[] args) {
source share