< prev index next >

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

Print this page

        

@@ -730,10 +730,11 @@
         }
 
         /**
          * Invoked when the value of the adjustable has changed.
          */
+        @SuppressWarnings("deprecation")
         public void adjustmentValueChanged(AdjustmentEvent e) {
             Adjustable adj = e.getAdjustable();
             int value = e.getValue();
             ScrollPanePeer peer = (ScrollPanePeer) scroller.peer;
             if (peer != null) {

@@ -829,10 +830,11 @@
     }
 
     /**
      * Invoked when the value of the adjustable has changed.
      */
+    @SuppressWarnings("deprecation")
     public void adjustmentValueChanged(AdjustmentEvent e) {
         Adjustable adj = e.getAdjustable();
         int value = e.getValue();
         ScrollPanePeer peer = (ScrollPanePeer) scroller.peer;
         if (peer != null) {
< prev index next >