void addButton_actionPerformed(ActionEvent e) {
        setTitle("Deck Editor : " + customMenu.getDeckName() + " : unsaved");

        int n = topTable.getSelectedRow();
        if (n != -1) {
            Card c = topModel.rowToCard(n);
            bottomModel.addCard(c);
            bottomModel.resort();
            if (filterUsed == true) {
                stCardList.remove(c.getName());
                stCardList.shuffle();
            }


            if (!Constant.GameType.Constructed.equals(customMenu.getGameType())) {
                topModel.removeCard(c);
                if (filterUsed == false) {
                    stCardList = this.getTop();
                }

            }

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


    }//addButton_actionPerformed