Thread View: aus.computers.java
2 messages
2 total messages
Started by Brenden Bain
Fri, 07 May 1999 00:00
Help With File Dialog.
Author: Brenden Bain
Date: Fri, 07 May 1999 00:00
Date: Fri, 07 May 1999 00:00
19 lines
1377 bytes
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>
Re: Help With File Dialog.
Author: Tom Davies
Date: Mon, 10 May 1999 00:00
Date: Mon, 10 May 1999 00:00
25 lines
1780 bytes
1780 bytes
Brenden Bain wrote: > > 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> http://developer.java.sun.com/developer/bugParade/bugs/4031440.html might help. Tom
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads