If you are working with scrollbars alone, use setValue() on JScrollBar. If the scrollbar you are saying is the scrollbar of JScrollPane and any component is added to JScrollPane, use scrollRectToVisible() on the Component. This method is from the JComponent class.
Post by:autobot
If you believe you can tell me what to think, I believe I can tell you where to go. Go read this tiny ad!
a bit of art, as a gift, the permaculture playing cards