public void useActiveTool(int x, int y, int prevX, int prevY) {
		imageGfx = image.getGraphics();
		
		if (!isMarking) {
			return;
		}
		if (activeTool == Tool.PENCIL || activeTool == Tool.ERASER) {
			drawLine(x, y, prevX, prevY);
		}
		if (activeTool == Tool.PAINTBUCKET) {
			fillArea(x, y, color.getRGB());
		}
		
		//imageGfx.dispose();
	}