File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Reversing Scrollbars Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Reversing Scrollbars" Watch "Reversing Scrollbars" New topic

Reversing Scrollbars

Toby Thorpe

Joined: Mar 15, 2004
Posts: 1
I'm trying to change my vertical scrollbars so that you have to click the top arrrow for the value to increase rather the the down arrow. I tried VERTICAL/2 and got a horizontal bar!!! (Think Java was being a wise guy =P)
plz help
KR Campbell
Ranch Hand

Joined: Mar 26, 2004
Posts: 124
If you are using a JScrollBar then the simplest solution would seem to be reversing the minimum and maximum values of the scroll bar's range.
How about:

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Reversing Scrollbars
Similar Threads
JTextArea scrollbars problem
no vertical lines in JTableHeader
textarea without vertical scrollbar
regarding JTable scrollabrs
ScrollPane trouble