@Override
	protected void paintComponent(Graphics g) {
		super.paintComponent(g);
		for (Line line : lines) {
			g.setColor(line.color);
			g.drawLine(line.x1, line.y1, line.x2, line.y2);
			
		}
		for(Arc arc:arcs){
			g.setColor(arc.color);
			g.drawArc(arc.x, arc.y, arc.width, arc.height, arc.startAngle, arc.arcAngle);
		}
	}