void addButton_actionPerformed(ActionEvent e) {
        int n = allCardTable.getSelectedRow();
        if (n != -1) {
            setTitle("Deck Editor - " + Constant.Runtime.HumanDeck[0].getName() + " - changed");

            Card c = allCardModel.rowToCard(n);
            deckModel.addCard(c);
            deckModel.resort();

            if (limitedDeckEditor) {
                allCardModel.removeCard(c);
            }

            //3 conditions" 0 cards left, select the same row, select next row
            int size = allCardModel.getRowCount();
            if (size != 0) {
                if (size == n) n--;
                allCardTable.addRowSelectionInterval(n, n);
            }
        }//if(valid row)
    }//addButton_actionPerformed