Article View: borland.public.jbuilder.java.language
Article #18600Re: Using FilenameFilter
From: Rich Wilkman
Date: Fri, 29 May 1998 00:00
Date: Fri, 29 May 1998 00:00
41 lines
1829 bytes
1829 bytes
Kimmo: It's not supported under Win32 implementations of the JDK. Very, very old JDK bug. -Rich Kimmo P�ntiskoski wrote: > > Hi ! > > I've been trying to use java.io.FilenameFilter, but with no succes. I > created a class FileFilter whichs implements this interface. It has only > one method accept(File, String). > When I take new instance of the FileDialog and use method > setFilenameFilter to set the FileFilter everything is ok. But when I > show the FileDialog with the method setVisible(true) nothing happens. As > far as I understand the FileDialog should call the accept method in the > FileFilter for every file in the current directory to determite if the > file should be shown. > Have I mist something or what ?? > > Any helped will be appreciated! > > Kimmo P�ntiskoski -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rich Wilkman Senior Quality Assurance Engineer Borland JBuilder Team If you see something that looks like an opinion up there, it's mine and mine alone. Mail sent to me from the newsgroups won't bounce but will be ignored. If I have time, I'll respond, but you have a better chance if you confine your posts to the newsgroups =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<356ED7D9.B2C54F25@corp.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<356EC72A.873394F3@igd.fhg.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f74b3,f501c8108f3b3cb3 X-Google-Attributes: gidf74b3,public From: Rich Wilkman <rwilkman@corp.borland.com> Subject: Re: Using FilenameFilter Date: 1998/05/29 Message-ID: <356ED7D9.B2C54F25@corp.borland.com> X-Deja-AN: 357671436 Content-Transfer-Encoding: 8bit References: <356EC72A.873394F3@igd.fhg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.language