SPARK-1250 increased setBlockIncrement to 200 for faster scrolling when clicking between the arrow and the scrollbutton on JScollPanel

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@12125 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Holger Bergunde
2011-03-16 11:34:09 +00:00
committed by holger.bergunde
parent 181e42355b
commit 33dbe1caeb
4 changed files with 4 additions and 4 deletions

View File

@ -219,7 +219,7 @@ public abstract class ChatRoom extends BackgroundPanel implements ActionListener
textScroller.setAutoscrolls(true);
// Speed up scrolling. It was way too slow.
textScroller.getVerticalScrollBar().setBlockIncrement(50);
textScroller.getVerticalScrollBar().setBlockIncrement(200);
textScroller.getVerticalScrollBar().setUnitIncrement(20);
chatWindowPanel = new JPanel();