I would like to add the expand button to my JTree nodes to indicate that they are extensible. The trick is that they don't have children until the user clicks on them (due to processing that happens in the background).
Is there a way to set node as a parent or have children without children?
thanks
source share