Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6234361

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 1.4.2_06
    • 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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: