Nested CheckBox in Java
- by Shailesh Ahuja
I want to create a nested checkbox list. If the user checks the main item, all the sub-items under and get checked. If the user checks some of the sub-items, then a blue square appears inside the main items checkbox.
It should look something like this.
How do I do that in Java 1.6? Can I use swing or any external library?
I would like to choose the easiest and the fastest way to achieve this? My aim is to create only 1 level of nesting.