how to make JScrollpane not to fetch data while scrollbar is adjusting?
I need to make the jscrollpane get data only when the scrollbar stops scrolling.
for instance if I hold the scrollbar's thumb and drag it to pass 1000 records, I want the view to wait until I release the thumb before taking any action( ex. adjust the view). in other words if the value of getValueIsAdjusting() of scrollbar is true, then the jscrollpsne should wait until it changes to false before doing anything. this is the same approach that Outlook takes when browsing through the list of emails in your mailbox.
I don't know how to solve this issue. any help regarding this issue would be appreciated.