private void disableVoteButtons(JButton confirmButton) {
        voteList.removeAll();
        confirmButton.setVisible(false);

        Enumeration<AbstractButton> allButtons = buttonGroup.getElements();
        while (allButtons.hasMoreElements()) {
            allButtons.nextElement().setVisible(false);
        }
    }