Hi, I have a JTree in the GUI, in the tree I have some nodes which we don't want it to expand, even the user double click to expand it, we still want to hide all the children of that node? How can I do this? Thanks!
I'm not sure how you could out and out disallow expansion of a node, but you could try listening for a TreeExpansionEvent and have it colapse what was just expanded.
Don't get me started about those stupid light bulbs.