-
Bug
-
Resolution: Fixed
-
P3
-
1.2.0
-
swing1.1
-
x86
-
windows_95
I've found a bug in the JTree "large model"- i.e., when I've called
setLargeModel(true) it incurs a performance hit.
The bug causes the selection to "jump" from selected nodes to unrelated
nodes when certain nodes are collapsed. A small program that manifests the
bug is attached, and the first few lines have instructions to see the bug.
Platform: JDK 1.1.5, Windows NT 4.0, found on Swing 0.6.1, Swing 0.7, and Swing-Pre-1.0(2/3)
The attached .java file is formatted for a wide terminal.
(See attached file: JTreeBug.java)
------------------------------------------------
If you select an item under a node and close another node, the node moves but the selection stays the same place on the screen. This causes unrelated nodes to become selected.
tom.santos@eng 1998-03-16
setLargeModel(true) it incurs a performance hit.
The bug causes the selection to "jump" from selected nodes to unrelated
nodes when certain nodes are collapsed. A small program that manifests the
bug is attached, and the first few lines have instructions to see the bug.
Platform: JDK 1.1.5, Windows NT 4.0, found on Swing 0.6.1, Swing 0.7, and Swing-Pre-1.0(2/3)
The attached .java file is formatted for a wide terminal.
(See attached file: JTreeBug.java)
------------------------------------------------
If you select an item under a node and close another node, the node moves but the selection stays the same place on the screen. This causes unrelated nodes to become selected.
tom.santos@eng 1998-03-16