List of usage examples for java.awt Graphics drawBytes
@SuppressWarnings("deprecation") public void drawBytes(byte[] data, int offset, int length, int x, int y)
From source file:MainClass.java
public void paint(Graphics g) { byte[] b = { 0x65, (byte) 'B', 0x66 }; g.drawBytes(b, 0, b.length, 10, 30); }
From source file:Main.java
public void paint(Graphics g) { byte[] barray = { 0x41, 0x42, 0x43 }; g.drawBytes(barray, 0, barray.length, 10, 30); }