Perry Smith

Java Questions & Answers

Archive

Home / Java Q & A Archive Page 4 / Java Q & A Archive / Java Main Page

FileDialog
Thursday, 04-Mar-99 12:07:44

146.176.163.6 writes:

Does anyone know where I can find a good tutorial about using the FileDialog class?

Thanks!

Stephen


Response
Re: FileDialog
Friday, 05-Mar-99 00:45:33

152.202.134.36 writes:

There shouldn't be any. java.awt.FileDialog is fatally flawed. The only choice is to write your own FileDialog implementation with AWT components or to use Swing's JFileChooser.

MikeD


Re: Re: FileDialog
Friday, 05-Mar-99 23:56:59

24.1.16.214 writes:

what's wrong with FileDialog? I've used it a few times with no problems. what sorts of problems should I be on the look-out for?

-calyxa


Re: Re: Re: FileDialog
Saturday, 06-Mar-99 09:57:19

152.167.239.128 writes:

The FileFilter implementation was never written in. So, you cannot use FileFilter's, even though the code compiles fine, it is never called. There's a workaround for Win95 machines, but, of course, that doesn't leave your code very portable.

MikeD


FileFilter
Saturday, 06-Mar-99 13:48:53

24.1.16.214 writes:

I'm on a mac, FileFilter works fine. I had some code which used a FileFilter that I took over to my brother's and ran on his Win95 box. the code worked just great except that all files were listed...

thanks,
-calyxa


Home / Java Q & A Archive Page 4 / Java Q & A Archive / Java Main Page