< prev index next >

src/java.desktop/share/classes/javax/swing/RepaintManager.java

Print this page

        

@@ -399,10 +399,11 @@
      * If <i>c</i> already has a dirty region, the rectangle <i>(x,y,w,h)</i>
      * will be unioned with the region that should be redrawn.
      *
      * @see JComponent#repaint
      */
+    @SuppressWarnings("deprecation")
     private void addDirtyRegion0(Container c, int x, int y, int w, int h) {
         /* Special cases we don't have to bother with.
          */
         if ((w <= 0) || (h <= 0) || (c == null)) {
             return;
< prev index next >