Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JScrollBar value change

 
Amit Agarwal
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am using a JScrollBar. If a user drags the knob of the JScrollBar, I get multiple calls to the adjustment listener even when the user is still dragging it. Can it be possible that when a user drags the knob, I get only one call to the adjustment listener and that also at the release of the bar?
Also, when the user does a block/unit increment i get the getValueIsAdjusting() true, so it gives an impression that the user is dragging the knob. How can this be corrected?
Regards,
Amit
 
Skool. Stay in. Smartness. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!