🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java.programmer
Article #419

Implementing a Directory selection dialog box.

#419
From: Gerardo Bentancor
Date: Sun, 18 Oct 1998 00:00
15 lines
1361 bytes
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: <362bb4ae.15732994@news.supernews.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10a146,b9e8d24339d545bc,start
X-Google-Attributes: gid10a146,public
X-Google-Thread: f74b3,b9e8d24339d545bc,start
X-Google-Attributes: gidf74b3,public
From: geebs@ozemail.com.au (Gerardo Bentancor)
Subject: Implementing a Directory selection dialog box.
Date: 1998/10/18
Message-ID: <362bb4ae.15732994@news.supernews.com>
X-Deja-AN: 402425401
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: newsabuse@supernews.com
X-Trace: 908702885 KNZ6XM44GE7E0CB6C usenet46.supernews.com
Organization: Veritech Pty Ltd
Mime-Version: 1.0
Newsgroups: comp.lang.java.programmer,borland.public.jbuilder.java.language