• Post Reply Bookmark Topic Watch Topic
  • New Topic

Question about scrollpane  RSS feed

 
Frank Tollenaar
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I've done a scrollPane, everything is fine. But the unitIncrement is by default to 1, I would like to put it to 5. Can I do that?
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With a JScrollPane, you'd use getVertcalScrollBar().setUnitIncrement(x). I don't know a way to do it with an AWT Scrollbar.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!