Disable Radio button
when the user presses on the A radio button i want radio buttons B,C and D to be disabled i used the code:
however this isnt working any ideas on how i can get these button to disable
public void actionPerformed(ActionEvent e)
setEnable enables the button to work
setSelected sets whether the button is selected or not
are you sure you mean setEnable??
if you meant setSelected you could add the buttons to a button group and automatically only 1 can be selected
hope I helped
This post is a little over 3 years old, I doubt that user will ever see it, or will need it anymore.
Originally Posted by javaLover90