Article View: comp.lang.java.programmer
Article #420Re: Implementing a Directory selection dialog box.
From: Alexander Anguiano
Date: Mon, 19 Oct 1998 00:00
Date: Mon, 19 Oct 1998 00:00
25 lines
1745 bytes
1745 bytes
Hello There was a class called DirectoryModel that was suppose to be in the preview class that is not there. This class was suppose to be a view of the files system. Anyway, I think the JFileChooser class may be configured as a directory viewer. If that doesn't help look at the FileSystemView class in swing. It is call the gateway into the file system. Gerardo Bentancor wrote in message <362bb4ae.15732994@news.supernews.com>... >Hi all, > >I was wondering if anyone has implemented a directory selecting dialog >box.. ie one that looks similar to the FileDialog box in AWT except >that it only allows you to select directories (or create them).. > >I'm not quite sure how to write one myself. I was thinking of creating >a dialog with a tree list control.. but then came to the realisation >that I couldn't do it in a machine independant fashion (ie allow the >user to select a drop down box of drives under Windows - I couldn't >find a class or method that would enumerate the drives on a Windows >computer..) Does anyone have any clues? > >regards, >gerardo bentancor >
Technical Details
Message-ID:
<70fgim$m4j@bgtnsc02.worldnet.att.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<362bb4ae.15732994@news.supernews.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,b9e8d24339d545bc X-Google-Attributes: gidf74b3,public X-Google-Thread: 10a146,b9e8d24339d545bc X-Google-Attributes: gid10a146,public From: "Alexander Anguiano" <AlexAnguiano@worldnet.att.net> Subject: Re: Implementing a Directory selection dialog box. Date: 1998/10/19 Message-ID: <70fgim$m4j@bgtnsc02.worldnet.att.net> X-Deja-AN: 402811733 References: <362bb4ae.15732994@news.supernews.com> X-Mimeole: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: AT&T WorldNet Services Newsgroups: comp.lang.java.programmer,borland.public.jbuilder.java.language