< prev index next >

src/java.desktop/share/classes/java/awt/dnd/DropTarget.java

Print this page

        

@@ -497,10 +497,11 @@
      *
      * @param peer The Peer of the Component we are associated with!
      *
      */
 
+    @SuppressWarnings("deprecation")
     public void addNotify(ComponentPeer peer) {
         if (peer == componentPeer) return;
 
         componentPeer = peer;
 

@@ -688,10 +689,11 @@
 
         /**
          * update the geometry of the autoscroll region
          */
 
+        @SuppressWarnings("deprecation")
         private void updateRegion() {
            Insets    i    = autoScroll.getAutoscrollInsets();
            Dimension size = component.getSize();
 
            if (size.width != outer.width || size.height != outer.height)
< prev index next >