-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
6
-
generic
-
generic
By specification of JTree.createTreeModel(Object value) method:
Returns a TreeModel wrapping the specified object. If the object is:
* an array of Objects,
* a Hashtable, or
* a Vector
then a new root node is created with each of the incoming objects as children. Otherwise, a new root is created with the specified object as its value.
But if we try to use such value (which is not array, Hashtable or Vector), then the value of root is String value "root" instead of specified object.
###@###.### 2004-12-15 14:14:45 GMT
Returns a TreeModel wrapping the specified object. If the object is:
* an array of Objects,
* a Hashtable, or
* a Vector
then a new root node is created with each of the incoming objects as children. Otherwise, a new root is created with the specified object as its value.
But if we try to use such value (which is not array, Hashtable or Vector), then the value of root is String value "root" instead of specified object.
###@###.### 2004-12-15 14:14:45 GMT
- duplicates
-
JDK-6493702 Several spec bugs in tree and related classes
- Closed