Article View: borland.public.jbuilder.java.swing
Article #11074Re: Beginner : Solved !
From: Jean-Fran�ois Leroux
Date: Tue, 13 Jul 1999 00:00
Date: Tue, 13 Jul 1999 00:00
28 lines
1396 bytes
1396 bytes
I found the trick - but I know, now, why Sun claims java is a portable
language :
all you get is what you coded yourself. Didn't have such a fight since my
first steps in ASM...
Write a specific class just for filtering a file extension...
Jean-Fran�ois Leroux <jfleroux@club-internet.fr> a �crit dans le message :
7mb1bl$p2k9@forums.borland.com...
> Hi,
> I have several question nested in one :
> How can I get all the files of a given directory, providing a filter ? I
> tried FilenameFilter, but JBuilder (2.01) stops with error messages :
> /* **********
> ...
> FilenameFilter filtre;
> filtre.accept() -> error (says methods doesn't exist)
> OR
> filtre.accept("*.txt") -> error (idem)
> ********** */
>
> Any idea, tip, code, welcome !
> Thanks in advance!
>
> --
> jfleroux@club-internet.fr
>
>
>
Technical Details
Message-ID:
<7mgbhp$1829@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7mb1bl$p2k9@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111d45,fa45acef665a2032 X-Google-Attributes: gid111d45,public From: "Jean-Fran�ois Leroux" <jfleroux@club-internet.fr> Subject: Re: Beginner : Solved ! Date: 1999/07/13 Message-ID: <7mgbhp$1829@forums.borland.com> X-Deja-AN: 500677221 References: <7mb1bl$p2k9@forums.borland.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.swing