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

Print this page

        

*** 218,228 **** /** * This method should <strong>NOT</strong> be called by user code. * This method is public for this class to properly implement * <code>Adjustable</code> interface. * ! * @throws <code>AWTError</code> Always throws an error when called. */ public void setMinimum(int min) { throw new AWTError(SCROLLPANE_ONLY); } --- 218,228 ---- /** * This method should <strong>NOT</strong> be called by user code. * This method is public for this class to properly implement * <code>Adjustable</code> interface. * ! * @throws AWTError Always throws an error when called. */ public void setMinimum(int min) { throw new AWTError(SCROLLPANE_ONLY); }
*** 235,245 **** /** * This method should <strong>NOT</strong> be called by user code. * This method is public for this class to properly implement * <code>Adjustable</code> interface. * ! * @throws <code>AWTError</code> Always throws an error when called. */ public void setMaximum(int max) { throw new AWTError(SCROLLPANE_ONLY); } --- 235,245 ---- /** * This method should <strong>NOT</strong> be called by user code. * This method is public for this class to properly implement * <code>Adjustable</code> interface. * ! * @throws AWTError Always throws an error when called. */ public void setMaximum(int max) { throw new AWTError(SCROLLPANE_ONLY); }
*** 272,282 **** /** * This method should <strong>NOT</strong> be called by user code. * This method is public for this class to properly implement * <code>Adjustable</code> interface. * ! * @throws <code>AWTError</code> Always throws an error when called. */ public void setVisibleAmount(int v) { throw new AWTError(SCROLLPANE_ONLY); } --- 272,282 ---- /** * This method should <strong>NOT</strong> be called by user code. * This method is public for this class to properly implement * <code>Adjustable</code> interface. * ! * @throws AWTError Always throws an error when called. */ public void setVisibleAmount(int v) { throw new AWTError(SCROLLPANE_ONLY); }