Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6745048
Votes 0
Synopsis Unnecessary surfix "(O)" in JFileChooser open button text
Category java:localization
Reported Against
Release Fixed 6u12(b01)
State 11-Closed, Verified, bug
Priority: 4-Low
Related Bugs
Submit Date 05-SEP-2008
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 :
 customer  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.
Posted Date : 2008-09-05 00:13:52.0
Work Around
N/A
Evaluation
When click a folder in filechooser dialog, the button text will change that contain an extra (o). The target fix release is 6u11.
Posted Date : 2008-09-19 05:35:41.0

should update FileChooser.directoryOpenButtonText in j2se/src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic.properties
Posted Date : 2008-10-24 11:23:09.0

Risk is very low. There is only resource file change.
Posted Date : 2008-10-29 09:13:07.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang