Forums Register Login

JScrollPane:

+Pie Number of slices to send: Send
Hi all:
How can i make the scrollbar scroll back to the top??
+Pie Number of slices to send: Send
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.
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
https://gardener-gift.com


reply
reply
This thread has been viewed 794 times.
Similar Threads
Help with JScrollPane
Very Different Problem with JScrollPane
synchronize two SWT scrollbars
scrollBar scrolled automatically
A question about JScrollPane. Thanks in advance!
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 04:51:27.