🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #1229

Help With File Dialog.

#1229
From: Brenden Bain
Date: Fri, 07 May 1999 00:00
19 lines
1377 bytes
Hello all,

I am writing a program, and I have to write some objects to disk. This is
not the problem. I am having troubles with the file dialog. I can get it
up and get files from it, but I cannot add my own filters to the dialog.
The API states that 'setFilenameFilter' should only allow certain files to
show, but it does not seem to work. I know that the 'FilenameFilter'
object code that I have written works as it works in limiting the standard
file read-outs using 'File'. Why isn't it working ? Even then I am not
sure that I am doing the correct thing as I also want to display the
filter in the file dialog and this method does not seem to do this. Is it 
possible to do this ? Any anwsers would be very helpful.

Thanx for your time,

(: Best Regards Anywhere :)

Brenden Bain <brenden.bain@studentmail.newcastle.edu.au>
Technical Details
Message-ID: <Pine.SOL.3.96.990507000055.24113A-100000@flame.newcastle.edu.au>
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: 10d6db,c7acaed179d138ae,start
X-Google-Attributes: gid10d6db,public
From: Brenden Bain <c9907324@studentmailbox.newcastle.edu.au>
Subject: Help With File Dialog.
Date: 1999/05/07
Message-ID: <Pine.SOL.3.96.990507000055.24113A-100000@flame.newcastle.edu.au>
X-Deja-AN: 474747835
Organization: The University of Newcastle
X-Sender: c9907324@flame.newcastle.edu.au
Content-Type: TEXT/PLAIN; charset=US-ASCII
Mime-Version: 1.0
Newsgroups: aus.computers.java