-
Bug
-
Resolution: Fixed
-
P3
-
5.0, 6u10
-
b30
-
x86
-
windows_xp
-
Not verified
Run SwingSet2 on WinXP and do the following -
- Goto FileChooser Demo
- Click on any of the buttons to bring up a file chooser (preview, custom etc)
- Choose 'My Computer' from the drop-down.
You will see that 'Shared Document' folder is listed in-between C and D drives, in the drive list loaded onto the JFileChooser. This is reproducible on all LAFs, atleast since JDK5. A similar bug was fixed for the order shown in the JComboBox of the JFileChooser, in JDK7-b15. Native dialogs show Shared Documents folder only at the end of the list.
[SQE]
Risk: normal
To test the fix follow the steps from CR description.
[SQE]
- Goto FileChooser Demo
- Click on any of the buttons to bring up a file chooser (preview, custom etc)
- Choose 'My Computer' from the drop-down.
You will see that 'Shared Document' folder is listed in-between C and D drives, in the drive list loaded onto the JFileChooser. This is reproducible on all LAFs, atleast since JDK5. A similar bug was fixed for the order shown in the JComboBox of the JFileChooser, in JDK7-b15. Native dialogs show Shared Documents folder only at the end of the list.
[SQE]
Risk: normal
To test the fix follow the steps from CR description.
[SQE]
- duplicates
-
JDK-6829545 Files are ordered non-alphabetically in JFileChooser open dialog
- Closed
- relates to
-
JDK-6538761 JFileChooser has incorrect order of items in drives combobox
- Closed