I need to create an extensible list using java swing. I will try to demonstrate:
not common:
>[Expand me!] >[And me!]
Expanded:
|[Expand me!] >[Expand us too!] >[Expand us too!] >[Expand us too!] >[And me!]
So, when you click on the βExpand meβ part in the list, other lists drop out, possibly containing more expandable lists. If you click on it again, this will lead to a reduction in "subscriptions". Pretty simple. And, as you can see, I am not looking for JComboBox, and I do not think JList can do this. If someone pointed me in the right direction or gave some programming examples, I would appreciate it.
Thanks MirroredFate
source share