-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
beta2
-
x86
-
windows_nt
Using JDK1.3.0_02 and JDK 1.4 beta 58
Under the default and Windows Look and Feel.
Open the JFileChooser in multi-select mode. Type the full path name of a file
that's not in the directory that's currently being displayed (e.g.
"c:\dev\todo.txt"). Press the Open button or hit Enter. When you call
getSelectedFiles(), it returns an empty array. (It should return an array with
a single element, containing the file you typed in.) If you instead type the
name of a file that's in the current directory, it works fine.
A simple testcase is included in the attachments.
Under the default and Windows Look and Feel.
Open the JFileChooser in multi-select mode. Type the full path name of a file
that's not in the directory that's currently being displayed (e.g.
"c:\dev\todo.txt"). Press the Open button or hit Enter. When you call
getSelectedFiles(), it returns an empty array. (It should return an array with
a single element, containing the file you typed in.) If you instead type the
name of a file that's in the current directory, it works fine.
A simple testcase is included in the attachments.