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

[TreeView, TreeTableView] expanding/collapsing doesn't work when resetting the root of the TreeView.

    XMLWordPrintable

Details

    Description

      This is introduced from b73 and not reproducible in b72.

      Create a TreeView, leave at least of one node not expanded. Now reset the root of TreeView by treeView.setRoot().
      Problem: The new root is not displayed, and expanding/collapsing doesn't work.

      Sample program is attached. When the program is run, click "Reset" button, then click expanding/collapsing icons of the TreeView, it doesn't work.

      Attachments

        1. TreeTableViewSample.java
          3 kB
          Jonathan Giles
        2. TreeViewSample1.java
          2 kB
          Jenny Huang

        Activity

          People

            jgiles Jonathan Giles
            jennyh Jenny Huang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: