Check Boxes Not Allowing Multiple Choices
I am trying to figure out why my following code snippet would not allow me to check multiple check boxes. Any assistance will be appreciated. Thanks in advance.
Code:
JCheckBox I1 = new JCheckBox ("Item 1");
JCheckBox I2 = new JCheckBox("Item 2");
JCheckBox I3 = new JCheckBox("Item 3");
Re: Check Boxes Not Allowing Multiple Choices
What do you mean "check multiple checkboxes"??
Re: Check Boxes Not Allowing Multiple Choices
Quote:
Originally Posted by ComputerJy
What do you mean "check multiple checkboxes"??
Thanks for your reply.
I want to beable to select more than one check box. However, my code is acting like a radio button.
Re: Check Boxes Not Allowing Multiple Choices
Then you're doing something else incorrectly because this code should be working fine