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

JFileChooser does not show registered extensions under Windows with Metal

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 5.0
    • 1.4.0, 1.4.1
    • client-libs
    • tiger
    • x86
    • windows_nt, windows_xp



      Name: jk109818 Date: 01/09/2003


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

      FULL OPERATING SYSTEM VERSION :
      Windows NT Version 4.0

      ADDITIONAL
      OPERATING SYSTEMS :
      was reported by users with other windows-versions,
      could be happen on every windows with the 'hide registered extensions'-
      feature.
      I saw this bug actually under Windows 2000 and Java 1.4.1 too.

      A DESCRIPTION OF THE PROBLEM :
      If the feature 'hide extension of registered filetypes' under windows is
      enabled, then the JFileChooser will hide these extensions too. That's
      bad, because all files get at standard the same icon, so you cannot
      differentiate files with the same name, but different extensions. If you
      select the files, the name including the extension will show in the
      inputline below.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Enable the 'hide extension of registered types'-feature in the windows-
      explorer.
      2. Instantiate a JFileChooser.
      3. Change to a directory,
      which contains files of a registered type.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      In the normal windows-filechooser the different filetypes will be shown
      through different icons.
      Because the JFileChooser uses only one icon
      for files, the extensions should be showed.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER WORKAROUND :
      Disable the hiding of extensions in the windows-explorer.
      (Review ID: 178842)
      ======================================================================

            kereminsunw Konstantin Eremin (Inactive)
            jkimsunw Jeffrey Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: