Nesting of combo boxes or similar one
Hi friends.
have been away from forum for a long time.
:-(
sorry.
well, i am reading the requirements document which contains a requirement which says of some nesting effect of combo box values.
ok let me put my need like this.
Code:
say i have a JCombobox with the following items
item11
item12
item13
item14
item21
item22
item31
item32
item41
Now i need to display this combo box values like this
Item1
item11
item12
item13
item14
Item2
item21
item22
Item3
item31
item32
Item4
item41
Looks like i need to use the combo box elements to be some kind of popup menu items..
Dont know how to go about it. just doing googling.
Please do let me know if you have any thoughts?
Thanks
Harinath
Re: Nesting of combo boxes or similar one
Hi,
Why dont you try having two combo boxes.
1. Initially populate all values in first combo.
2. As per the value selected in this combo, populate the items in the second combo.
Will this idea help you?
Happy coding!!!
Re: Nesting of combo boxes or similar one
No, I wont be able to use that one. becuase i have to changes in existing UI.
if its a new I then i could have thought of that option.
There must be some popup menu kind of option isnt it.