private void delete() {
        if (debugPrint) {
            System.out.println("Delete");
        }

        if (currentGameType.equals("") || currentDeckName.equals("")) {
            return;
        }

        int n = JOptionPane.showConfirmDialog(null, "Do you want to delete this deck " + currentDeckName + " ?",
                "Delete", JOptionPane.YES_NO_OPTION);
        if (n == JOptionPane.NO_OPTION) {
            return;
        }

        if (currentGameType.equals(Constant.GameType.Draft)) {
            deckManager.deleteDraftDeck(currentDeckName);
        } else {
            deckManager.deleteDeck(currentDeckName);
        }

        setDeckData("", true);
        deckDisplay.updateDisplay(new CardList(), new CardList());
    }//delete