I've been working with a JTree based on a custom TreeModel.
Unfortunatly, I cant figure out how to force it to update the entire
tree-- there simply dosnt seem to be a way to say "OK, your data changed
so drastically, it's not even worth me telling you where to start".
I have tried the fireTreeStructu reChanged event, but that only updates
the tree structure, leaving nodes that have changed only by name
unchanged and me cursing. I've also tried firing multiple events;
combinations of StructureChange d, and NodeChanged, and _almsot_ got what
I wanted.
Could someone give me an overview of what I need to do eventwise to
update the entire tree?
Unfortunatly, I cant figure out how to force it to update the entire
tree-- there simply dosnt seem to be a way to say "OK, your data changed
so drastically, it's not even worth me telling you where to start".
I have tried the fireTreeStructu reChanged event, but that only updates
the tree structure, leaving nodes that have changed only by name
unchanged and me cursing. I've also tried firing multiple events;
combinations of StructureChange d, and NodeChanged, and _almsot_ got what
I wanted.
Could someone give me an overview of what I need to do eventwise to
update the entire tree?
Comment