-
Enhancement
-
Resolution: Won't Fix
-
P5
-
1.4.2, 5.0
-
x86
-
windows_xp
Name: rmT116609 Date: 10/09/2003
A DESCRIPTION OF THE REQUEST :
Add to JFileChooser another JComboBox for file encoding selection.
JUSTIFICATION :
In many I18N applications, files are stored in different encodings, including Unicode formats. It would be very useful for JFileChooser to have a file encoding selection mechanism similar to that in Microsoft Windows' standard file dialogs -- the "Encoding" option can be seen in Windows 2000/XP's Notepad, in File Open/Save dialog, directly under "File name" and "Save as type" combo boxes.
This enhancement will make JFileChooser closely match Windows standard file dialogs and be a desirable option on other platforms as well.
(This RFE would also be a nice complement to RFE Bug Id 4932968.)
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
This option could be invisible by default, pre-populated with commonly used encodings (based on locale?), and made visible by a JFileChooser's new API method. Methods to populate the box with encoding strings and to get/set currently selected encoding should also be provided.
(Incident Review ID: 215049)
======================================================================
- duplicates
-
JDK-4946247 Windows FileChooser is unlike native FileChooser
-
- Closed
-