Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JScrollBar value change  RSS feed

 
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
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!