/** * Sets the block increments of both bars. * * @param inc the increment to use * @see #BLOCK_INCREMENT */ public void setScrollBarBlockIncrement(int inc) { getVerticalScrollBar().setBlockIncrement(inc); getHorizontalScrollBar().setBlockIncrement(inc); } }
/** * Sets the unit increments of both bars. * * @param inc the increment to use * @see #UNIT_INCREMENT */ public void setScrollBarUnitIncrement(int inc) { getVerticalScrollBar().setUnitIncrement(inc); getHorizontalScrollBar().setUnitIncrement(inc); }