Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reversing Scrollbars

 
Toby Thorpe
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic