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

Unnecessary surfix "(O)" in JFileChooser open button text

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b01
    • CPU:
      x86
    • OS:
      windows_xp
    • Verification:
      Verified

      Backports

        Description

        FULL PRODUCT VERSION :
        java version "1.6.0_10-rc"
        Java(TM) SE Runtime Environment (build 1.6.0_10-rc-b28)
        Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)

        ADDITIONAL OS VERSION INFORMATION :
        Microsoft Windows XP

        A DESCRIPTION OF THE PROBLEM :
        According to the evaluation of bug 4486063, in MetalLookAndFeel, the open button of JFileChooser dialog should not have mnemonics.
        In zh_CN an ja locale, the text of open button has an unnecessary "(O)" surfix, when user select a directory.
        Although the "O" is not underlined, user may still be confused to press Alt+O , trying to open selected directory.

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        Use "java -Duser.language=ja -jar SwingSet2.jar" to launch SwingSet2 demo app, select "java LookAndFeel", select JFileChooser demo, open a filechooser dialog, select any directory, the text of open button appends an unnecessary "(O)" surfix.


        REPRODUCIBILITY :
        This bug can be reproduced always.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  yhuang Yong Huang
                  Reporter:
                  ryeung Roger Yeung (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: