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

JTree different from native under Vista

    XMLWordPrintable

    Details

      Description

      FULL PRODUCT VERSION :
      1.6.0_01-ea

      ADDITIONAL OS VERSION INFORMATION :
      Windows Vista (All versions)

      A DESCRIPTION OF THE PROBLEM :
      The JTree under Windows Vista does not look like the default tree control in native Vista in that the native one uses black and white angled triangles for the expansion indicators/buttons but the Swing implementation uses the older XP-style plus/minus buttons. If you look at Windows Explorer and Windows Mail for example you will see the new Vista-look tree control that needs to be emulated in the Swing Vista PLAF.

      Please note that there are rollover effects where the triangle turns light blue when the mouse hovers over it too and also that the triangles are only visible when the mouse is hovering somewhere over the tree control as a whole. When the mouse moves off the tree control the triangles disappear.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Use a JTree with the Sun Windows Swing PLAF under Windows Vista.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      JTree to have the look and feel of a native Vista tree control using angled triangles for expansion buttons/indicators.
      ACTUAL -
      JTree has look and feel of older XP-style or Windows 2000 style tree controls using plus/minus expansion buttons/indicators.

      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Imported:
              Indexed: