United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6745048 Unnecessary surfix "(O)" in JFileChooser open button text
JDK-6745048 : Unnecessary surfix "(O)" in JFileChooser open button text

Details
Type:
Bug
Submit Date:
2008-09-05
Status:
Closed
Updated Date:
2010-10-28
Project Name:
JDK
Resolved Date:
2009-01-22
Component:
globalization
OS:
windows_xp
Sub-Component:
translation
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
6u10
Fixed Versions:
6u12 (b01)

Related Reports
Backport:

Sub Tasks

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.

                                    

Comments
EVALUATION

When click a folder in filechooser dialog, the button text will change that contain an extra (o). The target fix release is 6u11.
                                     
2008-09-19
EVALUATION

should update FileChooser.directoryOpenButtonText in j2se/src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic.properties
                                     
2008-10-24
EVALUATION

Risk is very low. There is only resource file change.
                                     
2008-10-29



Hardware and Software, Engineered to Work Together