I am creating custom Scrollbar. I found the thumb will travel into half of the end buttons on the track when I change to Nimbus LnF. On MetalLookAndFeel, the thumb will stop right before the end buttons.
Is there a way to fix this?
Here is a working code example . Please use the second answer's code and do three changes: 1. use Nimbus LnF; 2. comment out createDecreaseButton() and createIncreaseButton() methods; 3. make MyScrollbarUI class extends BasicScrollBarUI