6
I’ve looked around for plenty of examples JTree
It’s checkboxes but it all seems very complex.
Does anyone know a simple way, if there is one, to add to a JTree
that I dragged to my frame, a checkbox in each of the nodes?
What I wanted was to put a checkbox in each of the nodes, I’m not very familiar with the operation of the Trees, it was checkboxes in all the items in the image, except in the first.
in a quick search, I found several examples but none of them seem exactly easy... Yet this example seems exactly what you want, see if you can adapt to your case Link: http://stackoverflow.com/a/12870909/3792998
– jsantos1991
I used this http://www.jroller.com/santhosh/entry/jtree_with_checkboxes
– Franchesco