Add checkbox to a JTree

5

I have already looked at quite a few examples out there of JTree s with checkboxes but it seems all very complex to me.

Does anyone know a simple way, if any, to add a JTree that I dragged into my frame, a checkbox on each of the nodes?

What I wanted was for a checkbox on each of the nodes, I'm not much inside the trees, it was checkboxes on all the items in the image, except for the first one.

    
asked by anonymous 02.12.2014 / 13:20

0 answers