JDK-4024056 : FileDialog doesn't envoke FilenameFilter in Win95
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.0.1
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_95
  • CPU: x86
  • Submitted: 1997-01-06
  • Updated: 1998-01-29
  • Resolved: 1998-01-29
Related Reports
Duplicate :  
Description

Name: lb4072			Date: 01/05/97

In Win95, the FileDialog doesn't call the FilenameFilter 
when loading the dialog box. 
It seems the FileDialog.setFile method is being
used instead; example:
fd.setFile("*.txt"); just lists the *.txt files
fd.setFile("somefile.txt"); lists all the files.
The FilenameFilter.accept method is never called.
It was registered via fd.setFilenameFilter() 
method.  I was using the example from the Nut
Shell book.
======================================================================

Comments
WORK AROUND Name: lb4072 Date: 01/05/97 ======================================================================
11-06-2004