@Override
    public Color chooseColorByPoint(Vertex point)
    {
        if (point == firstLeft || point == firstRight)
            return Color.green;
        if (point == lastLeft || point == lastRight)
            return Color.yellow;
        return super.chooseColorByPoint(point);
    }