-
Bug
-
Resolution: Fixed
-
P3
-
7
-
b38
-
x86
-
windows_xp
-
Not verified
JFileChooser dn't close after pressing escape key , this happens after changing the file view though the menu. In fact i can't find the focus any component, even after pressing tab. This can reproduced in java look & feel as well as in windows look & feel. This happens from jdk1.5.0 to jdk7.0 b12.
Step to reproduce:
-----------------
1) Run the SwingSet2.
2) Select JFileChooser demo.
3) Click on the "Show Plain JFileChooser" button.
4) select any file or folder .
5) Right click on the selected file or folder. You will see a popup menu. select any view either list view or details view. Observe the file view changes.
6) Press Escape key. Observe that File chooser dn;t gets dispose or disappear. If you see the same then the bug is reproduced.
I have have observed few more thing. In java look And feel, the selected file or folder remains selected even after the view is changed. but in windows look and feel the selection disappear as soon as the menu is visible.
Step to reproduce:
-----------------
1) Run the SwingSet2.
2) Select JFileChooser demo.
3) Click on the "Show Plain JFileChooser" button.
4) select any file or folder .
5) Right click on the selected file or folder. You will see a popup menu. select any view either list view or details view. Observe the file view changes.
6) Press Escape key. Observe that File chooser dn;t gets dispose or disappear. If you see the same then the bug is reproduced.
I have have observed few more thing. In java look And feel, the selected file or folder remains selected even after the view is changed. but in windows look and feel the selection disappear as soon as the menu is visible.