Okay I am trying out the slider, but I'm having some trouble. I set my scroll thumb image to be the ThumbImage of the slider. However this icon remains at the bottom of the slider, no matter what I change the progress to.
My original setup of having the scoll bar and scroll thumb with two buttons seems okay. I am just having trouble repainting the scroll thumb. The code is as follows when I click one of the scolling arrows:
findScrollThumb(c).setY(SCROLL_THUMB_Y + m_scrollFactor); // set the new scroll thumb y so move down
findScrollThumb(c).repaint();
m_scrollFactor += 50;
The new scroll thumb repaints, but the old scroll thumb remains there as well. What is the best and smoothest way to simulate this scrolling?