< prev index next >

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

Print this page

        

@@ -841,10 +841,11 @@
      * <code>length</code>is less than zero, or <code>offset+length</code>
      * is greater than the length of the <code>data</code> array.
      * @see         java.awt.Graphics#drawChars
      * @see         java.awt.Graphics#drawString
      */
+    @SuppressWarnings("deprecation")
     public void drawBytes(byte data[], int offset, int length, int x, int y) {
         drawString(new String(data, 0, offset, length), x, y);
     }
 
     /**
< prev index next >