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

TreeView: selection issue after adding a new item

XMLWordPrintable

      The test is attached:

      1) run the test and see 2 TreeView
      2) click on the treeView1 (left), a listener is waked up and it adds an item (ti) into the treeView2, and asks the treeView2 to select the new item. ti is selected, great.
      3) click again on the treeView1, the listener removes the ti
      4) click again on the treeView1, the listener adds again ti to the treeView2, but this time ti is not selected, even the listener has asked the treeView2 to select ti.

      Repeat clicking and ti is never selected.

            jgiles Jonathan Giles
            sjiang Shanliang Jiang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: