@Override
	public void paintComponent(Graphics g) {
        if (point != null) {
        	if (tool == Tool.COLORWHEEL && colorWheel != null) {
        		if (icon) {
        			g.drawImage(colorWheel, point.x - 10, point.y - 10, 20, 20, null);
        		} else {
        			g.drawImage(colorWheel, point.x - 100, point.y - 100, 200, 200, null);
        		}
        	} else if (tool == Tool.ERASER) {
        		g.drawImage(eraser, point.x - 15, point.y - 15, 30, 30, null);
        	} else if (tool == Tool.PAINTBUCKET) {
        		g.drawImage(bucket, point.x - 15, point.y - 15, 30, 30, null);
        	} else {
	            g.setColor(cursorColor);
	            if (fullCursor) {
	            	g.fillOval(point.x - 10, point.y - 10, 20, 20);
	            } else {
	            	g.drawOval(point.x - 10, point.y - 10, 20, 20);
	            }        		
        	}
        }
        g.setColor(cursorColor);
        g.fillRect(26, 567, 30, 30);
	}