< prev index next >

src/java.desktop/share/classes/javax/swing/text/html/StyleSheet.java

Print this page

        

@@ -2560,10 +2560,11 @@
             else if (repeats == CSS.Value.BACKGROUND_REPEAT_Y) {
                 flags |= 2;
             }
         }
 
+        @SuppressWarnings("deprecation")
         void paint(Graphics g, float x, float y, float w, float h, View v) {
             Rectangle clip = g.getClipRect();
             if (clip != null) {
                 // Constrain the clip so that images don't draw outside the
                 // legal bounds.
< prev index next >