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

JFileChooser.getTypeDescription not honoring user locale

XMLWordPrintable

      FULL PRODUCT VERSION :
      java version "1.6.0_01"
      Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
      Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Japanese Retail XP Professional 32-bit.


      A DESCRIPTION OF THE PROBLEM :
      JFileChooser.TypeDescription returns Japanes description when user locale set to US on Japanse Retail XP.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      On Japanese Retail Windows,
       Set US English in Regional Options and Advanced tab in Regional Control Panel

      Find a 1.6.0 jdk
      cd <root>\demo\jfc\SwingSet2
      ..\..\..\bin\java -jar SwingSet2.jar

      Then, from the GUI:
      Select Windows L&F from the menu
      Select the JFileChooser from the toolbar
      Click the "Show Plain JFileChooser"
        From the Open dialog, select the icon that show the "Details" view

      You will see the file type string still displayed in Japanese.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Exepcted to have English type descriptions.

      REPRODUCIBILITY :
      This bug can be reproduced always.

            tr Tejesh R
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: