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

Switching UI should not reset Selections in JTree

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.2.0
    • client-libs



      Name: krT82822 Date: 06/15/99


      Now switching UI should only change the appeariance and the feeling
      of th application and not affect the data. Now I see the selections
      in a JTree as data. If a user after spending time performing selections
      in a JTree component, changes the L&F all his work will be lost.
      And he will also not find the focus anymore, because JTrees without
      a selected node don't show that they have the focus. Now my
      tree components on startup have a default node selected, but I don't
      to track L&F changes to select something.

      Please when retrieving the SelectionModel from the Tree also retreave
      the old selections.

      Thank you
        P@

      -------------

      6/15/99 kevin.ryan@eng -- was surprised that I couldn't find an existing bug # for this. Problem still visible in Swing 1.1.1 beta 2 and in
      JDK 1.2.2 RC1. Filing bug.
      (Review ID: 53402)
      ======================================================================

            svioletsunw Scott Violet (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: