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

JFileChooser does not show correct file icons with Windows XP look and feel

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 5.0
    • client-libs



      Name: gm110360 Date: 05/19/2004


      FULL PRODUCT VERSION :
      java version "1.5.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b32c)
      Java HotSpot(TM) Client VM (build 1.5.0-beta-b32c, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      Icons displayed beside filenames in the JFiileChooser are not correct. Specifically if a particular folder is 'shared' on the network a 'hand' image should be shown with the folder icon but it is not.

      Also if the Windows 'Folder Options' are set such that encrypted or compressed files show in an alternate colour (usually blue)

      Files marked as hidden (when the folder options say to show them) show a 'ghosted' icon in the native explorer and file chooser, but not JFileChooser.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Share some folders on a Windows XP machine. Mark some files and folders as 'hidden' with the fiel properties dialog in Windows explorer.
      Note the icon that appears for shared folders in both explorer and the native file open dialog. Compare with JFileChooser using the XP look and feel.


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The XP Look and Feel should match the native XP look and feel.
      ACTUAL -
      it doesn't

      REPRODUCIBILITY :
      This bug can be reproduced always.
      (Incident Review ID: 270447)
      ======================================================================

            leifs Leif Samuelsson (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: