protected void replaceCase(int index)
    {
        if(myLemma.replaceCase(tempDecomposition, tempI, index))
            myMessage.setText("Case #" + (index + 1) + " replaced.");
        else
            myMessage.setText("Wrong case selected.");
    }