posted 16 years ago
Hi everyone,
I have to design a GUI where in user should enter information like name, ID number, university, company etc. I have to provide radio button selection to choose between two sets of information. For example, let radioButton1(student) be the default where in the panel should display name, ID number and University. If radioButton2(employee) is selected, the panel should now display name, ID number and company(i.e should not display University field).
It would have been easier if I could just disable the unwanted components based on selection but am not sure how to display only selected items. I have pasted my code which renders the panel properly initially and disables the unwanted items. Please tell me how I could change the code to display only selcted items.
Thanks in advance!
Thejaswini.
[ September 25, 2007: Message edited by: thejaswini ramesh ]