@Override
	public void mouseDown(MouseEvent e)
	{
		if(e.button == 1)
		{
			leftMouseDown = true;
			if(!model.isClosed())
			{
				addClickedPosition(e.x,e.y);
				lastTimePointAdded = System.currentTimeMillis();
			}
		}
		else if(e.button == 3)
		{
			rightMouseDown = true;
		}
		start.x = e.x;
		start.y = e.y;

	}