JDK-6785462 : Missing "(O)" in JFileChooser Open button in Windows LAF
  • Type: Bug
  • Component: globalization
  • Sub-Component: translation
  • Affected Version: 6u12
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • CPU: x86
  • Submitted: 2008-12-16
  • Updated: 2010-09-29
  • Resolved: 2010-01-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
6u18 b01Fixed 7Fixed
Related Reports
Relates :  
In Windows LookAndFeel, the JFileChooser's Open button should have a sufix "(O)", after the fix of 6745408, it's gone. The fix should only affect MetalLookAndFeel, not WindowsLookAndFeel. See attached screenshot.

EVALUATION With discussion with Yuka about the "fallback mechnism", it's clear that same key in LAF specific resource file can replace the value of that key in basic_xx.properties. L10n can fix this CR by adding same key with different value in windows_xx.properties. It's near b04 in 6u14 now. I'll fix it next release.

EVALUATION With futher investigation, I find that the label text of open button is saved in one key in basic.properties. It means that, if I update it to without (O), it will not work well in Windows Look And Feel, but if I set it to with (O), it will not work well in Metal Look and Feel. I have filed a i18n CR on swing, to have seperate key for each look and feel. The priority of the CR is set to p4. I am not sure how long it will takes the swing team to fix this CR. If you feel necessary, I can upgrade it to p3. While, currently, in the most frequently used LAF, metal LAF everything works fine. In windos look and feel, only (O) is missing, the function works well.

EVALUATION The CR will be fixed in 6u14, next normal release in 6ur.