🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #14734

Re: FileNameFilter (jpg, gif)

#14734
From: Rich Wilkman
Date: Thu, 05 Aug 1999 00:00
38 lines
1588 bytes
Paul:

It is a FilenameFilter, but if you are on Wintel, don't bother.  Search
on the Javasoft Bug Parad on FilenameFilter for more.

Cheapest workaround (on Wintel) is to seed the initial file value to
*.gif or *.jpg before displaying the dialog.

-Rich

"P.Banoub" wrote:
> 
> Hi all.
> 
> I'd like my filer dialog to display .gif, and .jpg instead of *.* all
> files.
> 
> I know it involves a filenamefilter but dunno how to implement it.
> Can someone give me a really easy to understand example?
> 
> Any help greatly appreciated
> 
> Paul

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Quality Assurance Manager
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: <37A9AD07.2CB5AD58@inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37A8D30C.67AB21F6@virgin.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,628697148422e9c6
X-Google-Attributes: gidf74b3,public
From: Rich Wilkman <rwilkman@inprise.com>
Subject: Re: FileNameFilter (jpg, gif)
Date: 1999/08/05
Message-ID: <37A9AD07.2CB5AD58@inprise.com>
X-Deja-AN: 509211928
Content-Transfer-Encoding: 7bit
References: <37A8D30C.67AB21F6@virgin.net>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language