TreeCellEditor over-riding the DefaultMutableTreeNodes user objects!!!!
Posted on 2004-11-25
ive been intensively debugging (!!) and it turns out that:
i have a tree
i add new nodes - they are being added correctly - DefaultMutableTreeNodes with user objects of a certain object type
i can add more nodes succesfully and the existing nodes are OK!!
then i edit a node, and next time the renderer is called i stop at a break-point and check the tree-model -> the other tree nodes are intact, but the one i just edited - its user object is of type String !!!!
??? what the hell happened!! my editor routine is very simple!!
have u come accross such a problem b4?
i can post any code that may help