-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
b30
-
x86
-
windows_2000
JFileChooser should support '?' wildcard.
In windows system '?' & '*' are two widely used wild card characters
But JFileChooser doesn't support wildcard '?', Though it supports '*'
Steps to reproduce:
1) Open SwingSet2.
2) Change L&F to windows.
3) Go to FileChooser demo, And Open a plain JFileChooser.
4) Type '?' in name field and hit enter than it should display all files which matches this wild card, But in turn it closes FileChooser dialog treating it as file name, While '?' can't be a file or folder name in windows.
5) Open native FileChoosr dialog,(Open notepad, And say File > Open).
6) Type '?' in name field and hit enter, It will display all the files which matches this wildcard.
Note:
- This bug exist in both win2k and xp.
- This bug can be reproduced in Tiger also.
In windows system '?' & '*' are two widely used wild card characters
But JFileChooser doesn't support wildcard '?', Though it supports '*'
Steps to reproduce:
1) Open SwingSet2.
2) Change L&F to windows.
3) Go to FileChooser demo, And Open a plain JFileChooser.
4) Type '?' in name field and hit enter than it should display all files which matches this wild card, But in turn it closes FileChooser dialog treating it as file name, While '?' can't be a file or folder name in windows.
5) Open native FileChoosr dialog,(Open notepad, And say File > Open).
6) Type '?' in name field and hit enter, It will display all the files which matches this wildcard.
Note:
- This bug exist in both win2k and xp.
- This bug can be reproduced in Tiger also.