K
Kevin
One question about JScrollPane:
we can use:
jScrollPane.getHorizontalScrollBar().setUnitIncrement(60);
jScrollPane.getHorizontalScrollBar().setBlockIncrement(180);
to set how much space/pixel to scroll when user click on the scroll
bar.
However, how about if the user presses the arrow keys on the keyboard
instead of using the mouse??? I find in that way, the scroll pane
scrolls very slowly. How to set its speed (amount of pixel to scroll)
for the scroll event from keyword arrow keys?
Thanks a lot.
we can use:
jScrollPane.getHorizontalScrollBar().setUnitIncrement(60);
jScrollPane.getHorizontalScrollBar().setBlockIncrement(180);
to set how much space/pixel to scroll when user click on the scroll
bar.
However, how about if the user presses the arrow keys on the keyboard
instead of using the mouse??? I find in that way, the scroll pane
scrolls very slowly. How to set its speed (amount of pixel to scroll)
for the scroll event from keyword arrow keys?
Thanks a lot.