Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Version 2.2
-
None
-
None
-
XmlBeans 2.2.0, jdk 1.5
Description
The tree-expand in the sample XmlTree is broken.
That you can expand the tree with the JTree owned methods like "expandPath(TreePath)" the class XmlEntry must implement following methods:
public int hashCode()
{ return this.m_currentXml.hashCode(); }public boolean equals(Object obj)
{ return this.m_currentXml.hashCode() == ((XmlEntry)obj).hashCode(); }