S
Sam
I have a JTree component in a GUI which displays the state of an
arbitrary object over time, i.e. as separate entries in the JTree for
each point in time I want to display. When you click on the object, it
uses java reflection to display the attributes of the class. What I
would like to do is "freeze" the object to display the attributes of
the object *at the time it was added to the JTree component*.
Otherwise, it will just show the current values for all entries in the
JTree.
Copying the object is not practical, since it is actually an object
tree and would entail some considerable work.
Is there anyway short of copying the object tree to handle this
requirement?
thanks,
Sam90
arbitrary object over time, i.e. as separate entries in the JTree for
each point in time I want to display. When you click on the object, it
uses java reflection to display the attributes of the class. What I
would like to do is "freeze" the object to display the attributes of
the object *at the time it was added to the JTree component*.
Otherwise, it will just show the current values for all entries in the
JTree.
Copying the object is not practical, since it is actually an object
tree and would entail some considerable work.
Is there anyway short of copying the object tree to handle this
requirement?
thanks,
Sam90