I am using JSplitPanes for some of my panels, but they are a bit thick, especially when you have a few of them showing.
Is it possible to style these bars into something thinner, like a line with an arrow, or even just a line?
I am using JSplitPanes for some of my panels, but they are a bit thick, especially when you have a few of them showing.
Is it possible to style these bars into something thinner, like a line with an arrow, or even just a line?
Copyright © 2021 Jogjafile Inc.
You can use
setDividerSizeto it in order to change its width. Its default value is 10. Full example:However, Look & Feels are capable of changing the way it looks since they change its
UI. If the above solution does not work for you, you will have to mess with its UI. For example, in one of my applications I did not want any line (while using Windows Look and Feel), so in order to make it invisible I had to: