@Override
	protected void paintComponent(Graphics g)
	{
		super.paintComponent(g);

		Graphics2D g2d = (Graphics2D) g;
		if (currentSelection != null)
		{
			g2d.setColor(CURRENT_COLOR);
			currentSelection.draw(g2d);
		}

		g2d.setColor(showingSolutions ? SOLUTIONS_COLOR : FIXED_COLOR);
		for (Selection s : showingSolutions ? solutions : selections)
			s.draw(g2d);

	}