Graphics2D g3 = (Graphics2D) g;
GraphicsDevice gd = GraphicsEnvironment.getLocalGraphicsEnvironment()
.getDefaultScreenDevice();
GraphicsConfiguration gc = gd.getDefaultConfiguration();
if (bufferedImage == null)
bufferedImage = gc.createCompatibleImage(resolution.x,
resolution.y, Transparency.OPAQUE);
Graphics2D g2 = bufferedImage.createGraphics();
g2.setColor(new Color(30, 40, 50));
Rectangle new_rect = new Rectangle(0, 0, resolution.x, resolution.y);