Posts about java
9 years ago
JAVA JScrollPane change scroll amount/increment
yourScrollPane.getVerticalScrollBar().setUnitIncrement(85);
9 years ago
JAVA JScrollPane change scrollbar width or height
It's actually pretty simple. Just do something like this, adjusting to the horizontal scrollbar and/or the height that you want:
yourScrollPcane.getVerticalScrollBar().setPreferredSize(new Dimension(85, Integer.MAX_VALUE));
9 years ago
Silly android app number 3 - Fast as a ninja
Train your reflexes. Beat your friends. Be a ninja :)
Warning: possible side effects might include utter disappointment in software developers for all time.
9 years ago