Hello,
I require my JScrollBar to trigger a repaint, when the mouse is released from the bar.
I managed to solve this by adding a MouseListener to the JScrollBar object, and just implementing the mouseReleased method.
But the problem is that when the 2 ends of the JScrollBar(the
unit increment/decrement things) are released, it does not recognise this as a mouse release, and mouseReleased(...) is never invoked.
I tried to remove the 2 end things, to just leave the bar, but I couldn't seem to do this, is there any other way to solve this problem?
Thanks for any help.