JTreeTable: How do I listen to the tree expansion events?
I have a requirement where I have to explicitly track the
state of the tree nodes so that I can restore this state
later when needed. I don't see a way to do this at present.
Part of the reason why I need to separately maintain the
state is because, when I do changes to the tree structure,
for example, when a node is dragged and dropped under another node, I change the node's parent to the new parent
and issue the fireTreeNodesInserted/Removed commands and
the UI gets updated. However, the child is shown in collapsed state and it's earlier expansion paths are all lost. I am not sure if this is the JTree behavior itself or an implementation issue with JTreeTable.
Ramesh, most likely you are the one who is going to answer this and if so, a few more questions based on your response to my earlier questions.
1. I see the documentation and I use it as JTreeTable and
you keep referring to it as JXTreeTable. Is the name going to be changed in the future?
2. You mention changing the code, but I can only download the run-time. Where do I get to download the source code?