Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4024056
Votes 3
Synopsis FileDialog doesn't envoke FilenameFilter in Win95
Category java:classes_awt
Reported Against 1.0.1
Release Fixed
State 11-Closed, duplicate of 4031440, bug
Priority: 4-Low
Related Bugs 4031440
Submit Date 06-JAN-1997
Description



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.
======================================================================
Work Around




======================================================================
Evaluation
N/A
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang