posted 22 years ago
I have a JTree that I populate from a database. I have a Root Node, Then Catagory Nodes, and under those, I have SubCatagory Nodes.
If the Sub Catagory Node has no children, which some may until the Database get's more entries, they show up as a Leaf Node, with the Leaf Node Icon.
Is there a way to force them to be Parent Nodes with No Children instead of a leaf node, and then get them the proper folder icon?