JTree repaints whole tree for each change in individual node (even scrolled off screen)

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 6
    • Affects Version/s: 1.4.2_06
    • Component/s: client-libs
    • b50
    • x86
    • linux_redhat_9.0

      If I have a large JTree based on subclass of DefaultTreeModel and signal a change in individual node (using DTM.nodeChanged()), whole JTree gets repainted.

      It gets repainted even if the updated node is scrolled far offscreen.

      I'll attach a testing application, start using java -jar, contains the source code.

      See also NetBeans issue #39033
      http://www.netbeans.org/issues/show_bug.cgi?id=39033
      ###@###.### 2005-03-01 16:06:49 GMT

            Assignee:
            Scott Violet (Inactive)
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: