src/java.desktop/share/classes/java/awt/ScrollPaneAdjustable.java

Print this page

        

*** 331,341 **** * Sets the value of this scrollbar to the specified value. * <p> * If the value supplied is less than the current minimum or * greater than the current maximum, then one of those values is * substituted, as appropriate. Also, creates and dispatches ! * the AdjustementEvent with specified type and value. * * @param v the new value of the scrollbar * @param type the type of the scrolling operation occurred */ private void setTypedValue(int v, int type) { --- 331,341 ---- * Sets the value of this scrollbar to the specified value. * <p> * If the value supplied is less than the current minimum or * greater than the current maximum, then one of those values is * substituted, as appropriate. Also, creates and dispatches ! * the AdjustmentEvent with specified type and value. * * @param v the new value of the scrollbar * @param type the type of the scrolling operation occurred */ private void setTypedValue(int v, int type) {