when the user presses on the A radio button i want radio buttons B,C and D to be disabled i used the code:
A.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent e)
{
B.setEnabled(false);
C.setEnabled(false);
D.setEnabled(false);
answerwrong ++;
}
});
however this isnt working any ideas on how i can get these button to disable