scrollTimer.setDelay(300); if (e.getSource() == incrButton) scrollByUnit(POSITIVE_SCROLL); else if (e.getSource() == decrButton) scrollByUnit(NEGATIVE_SCROLL);
    public void mouseReleased(MouseEvent e)    {      scrollTimer.stop();    }