-
Bug
-
Resolution: Fixed
-
P2
-
1.4.1_01, 1.4.2
-
mantis
-
x86
-
linux_redhat_7.1, windows_nt
###@###.### 2002-10-15
bug#4745001 is not fixed completely; it does fix the original problem
but there are other problems with more complex trees.
J2SE Version (please include all output from java -version flag):
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b14)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b14, mixed mode)
Operating System Configuration Information (be specific):
NT 4.0 SP6a
Steps to Reproduce (be specific):
>javac PatchedFixedHeightLayoutCache.java
>javac PatchedBasicTreeUI.java
>javac TT2.java
>java TT2
click to expand node "c"
click to expand node "b"
click to expand node "A" under node "b"
Note that node "A" jumps down one row which is a problem.
click to collapse node "A"
click to expand node "A"
Node "A" jumps down another row.
If you continue, you eventually get an exception. The fix to remove
then add the node from the cache doesn't keep the internal indexes
consistent.
- duplicates
-
JDK-4781902 JTree content is corrupted after nodeStructureChanged() call
-
- Closed
-