public void removeCard(String ID) {
        for (Component c : table.getComponents()) {
            if ((c.getClass().equals(TCard.class)
                    || c.getClass().equals(Token.class))
                    && ((TCard) c).getID().equals(ID)) {
                table.remove(c);
                table.repaint();
                return;
            }
        }
    }