From: Linu H. <lin...@ya...> - 2008-09-30 10:02:26
|
Hello I am creating an interface with the use of gui4j and it requires 2 radio buttons. They have to be in the same group, in order to be able to choose one at a time. I cannot find a way to do this,please help me. <radioButton guiId="radio1" text="'Active'" group = "mygroup" /> <radioButton guiId="radio2" text="'Deleted'" group = "mygroup" /> i understood from the documentation that there is an attribute "group" that holds the radio buttons,but if i try to associate a value to it,i am forced to define it ,and i don't know a way to define a group element. How can i make the radio buttons be active one at a time? I would greatly appreciate the code for this. Thanks, have a nice day |