🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #9399

Re: JFileChooser Question

#9399
From: James Cook
Date: Fri, 07 Apr 2000 00:00
17 lines
995 bytes
If you set the chooser to allow directory selection it should return it as a
File.

    chooser.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);

jim

Jochen Vastmans <jochen.vastmans@student.kuleuven.ac.be> wrote in message
news:954339824.271118@marvin...
> Is it possible to return a selected directory..
> I need this in my application, is there a way to do this??
>
> Jochen
>
> jochen.vastmans@student.kuleuven.ac.be
>
>
Technical Details
Message-ID: <8claor$j2313@bornews.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <954339824.271118@marvin>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,13fa32e6b24ee699
X-Google-Attributes: gid111d45,public
From: "James Cook" <jimcook.remove.for.spam@iname.com>
Subject: Re: JFileChooser Question
Date: 2000/04/07
Message-ID: <8claor$j2313@bornews.borland.com>
X-Deja-AN: 608108419
References: <954339824.271118@marvin>
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