public void ok()
    {
        if (comboBox.getSelectedIndex() < 2)
            mcdlien.setCardMin("0");
        else
            mcdlien.setCardMin("1");

        if (comboBox.getSelectedIndex() == 0
                || comboBox.getSelectedIndex() == 2)
            mcdlien.setCardMax("1");
        else
            mcdlien.setCardMax("N");

        close();
    }