Article View: borland.public.jbuilder.java.swing
Article #11519Re: Directory Path Finder ?
From: Jason Burton
Date: Tue, 18 May 1999 00:00
Date: Tue, 18 May 1999 00:00
13 lines
980 bytes
980 bytes
> Is there a class or an easy way (as FileDialog allows files )to allow user > to select a Directory ? > > How can I go go through files in a particular directory. > ( As in C++ , findnext() ) I haven't really looked for a dialog that allows selection of a directory, but the equivalent of the Delphi/C++ findnext() is contained in the java.io.File class. Check the list() method of that class. HTH, Jason
Technical Details
Message-ID:
<7hshj2$chj8@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7hqd1n$aqi2@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,18b3ecbf622a5881,start X-Google-Attributes: gid111d45,public From: "Jason Burton" <Jason.Burton@McLeodSoftware.com> Subject: Re: Directory Path Finder ? Date: 1999/05/18 Message-ID: <7hshj2$chj8@forums.borland.com> X-Deja-AN: 478829833 References: <7hqd1n$aqi2@forums.borland.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.swing