146.176.163.6 writes:
Does anyone know where I can find a good tutorial about using the FileDialog class?
Thanks!
Stephen
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
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
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
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