C
Chase Preuninger
BufferedImage img = new BufferedImage(50 * text.length(), 100,
BufferedImage.TYPE_3BYTE_BGR);
Graphics2D g = img.createGraphics();
g.drawRect(0, 0, img.getWidth()- 10, img.getHeight() -10);
g.setBackground(Color.WHITE);
Why is the background still black?
BufferedImage.TYPE_3BYTE_BGR);
Graphics2D g = img.createGraphics();
g.drawRect(0, 0, img.getWidth()- 10, img.getHeight() -10);
g.setBackground(Color.WHITE);
Why is the background still black?