Thanks, that helped heaps. I got it to work by doing this:
JButton upButton = new JButton("Up");
upButton.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent arg0){
scrollPane.getVerticalScrollBar().setBlockIncrement(50);
scrollPane.transferFocusDownCycle();
scrollPane.getVerticalScrollBar().setValue( scrollPane.getVerticalScrollBar().getValue() - scrollPane.getVerticalScrollBar().getBlockIncrement());
}
});
JButton downButton = new JButton("Down");
downButton.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent arg0){
scrollPane.getVerticalScrollBar().setBlockIncrement(50);
scrollPane.transferFocusDownCycle();
scrollPane.getVerticalScrollBar().setValue( scrollPane.getVerticalScrollBar().getValue() + scrollPane.getVerticalScrollBar().getBlockIncrement());
}
});