Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_java thread: FileDialog (filtering for certain file extensions)


Message #1 by "Wesley Hobbie" <wslyhbb@y...> on Mon, 10 Dec 2001 15:02:40
I have used JFileChooser in the past and was modifying my code to use 
FileDialog instead as it looks better, looks like the one used by every 
other Windows program and takes less code to get the job done.  My 
question is how to filter for certain file extensions in FileDialog as you 
can in JFileChooser.  I cannot seem to figure out how to, so any help 
would be highly appreciated.  Thank you.

P.S. Also if you know how to turn off all files like you can in 
JFileChooser, that would also be extremely helpful.

  Return to Index