@Override
	public void update(Graphics g) {
		if (dblImage == null) {
			dblImage = createImage(this.getSize().width, this.getSize().height);
			dblg = dblImage.getGraphics();
		}
		
		dblg.setColor(getBackground());
		dblg.fillRect(0, 0, this.getSize().width, this.getSize().height);
		
		dblg.setColor(getForeground());
		paint(dblg);
		
		g.drawImage(dblImage, 0, 0, this);
	}