aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Reversing Scrollbars" Watch "Reversing Scrollbars" New topic
Author

Reversing Scrollbars

Toby Thorpe
Greenhorn

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:

Kenny
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Reversing Scrollbars