public void paintPreview(int diameter, Color color){
        PaintUtils.erasePainting(this);
		PaintUtils.paintCircle(this.getGraphics(), this.getWidth()/2, 
								this.getHeight()/2, diameter, color);
	}