I'd like to create a scroll pane that doesn't actually move the scrollable client object around. The client object remains fixed in place, but has a custom paint method that uses the positions of the scroll bars.
Does anyone have any suggestions on how to implement this?
I tried overriding setBounds(x,y,width,height) on the client object to setBounds(0,0,width,height), but while it keeps the client object from moving around, it also keeps the scroll bars from moving as well. (You can drag them, but they snap back to the original position when you let go)