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

On trying to edit it a WinL&F JTree Parent node, the icon toggles to collapsed state.

XMLWordPrintable

      On trying to edit it a WinL&F JTree Parent node, the icon toggles to collapsed state.
      Steps to reproduce:
      1)Run Swigset2,tab to the JTree Demo, switch to Windows L&F.
      2)Click to select the node called "Rock".Observe that the folder icon against the "Rock" node becomes expanded.
      3)Press F2.
      Actual behavior:
      The Node "Rock" becomes editable, the folder icon against the "Rock" node becomes collapsed.
      Expected behavior:
      The Node "Rock" becomes editable, the folder icon against the "Rock" node remains in the same state sa it was before i.e in expanded state as is the case for a native windows explorer folder icon.
      This is seen on jdk6 b104 build.
      Attatched is the screen shot of the incorrect behavior.

            peterz Peter Zhelezniakov
            smandalisunw Srinivas Mandalika (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: