public void draw(Graphics2D shape){


		if(shape_type.equalsIgnoreCase("Line")){
			Line line = new Line(current_start,current_end, c);
			line.drawLine(shape);
		}
		else if (shape_type.equalsIgnoreCase("Square")){
			Square square = new Square(current_start, current_end,c,fill);
			square.drawSquare(shape);
		}
		else if(shape_type.equalsIgnoreCase("Circle")){
			Circle circle = new Circle(current_start,current_end, c, fill);
			circle.drawCircle(shape);
		}
		update();
	}