Click to See Complete Forum and Search --> : FileNameFilter for FileDialogbox


sachinc01
July 23rd, 1999, 06:26 AM
How to set the filename filter for the file Dialog box provided by java so that when the file dialogbox is displayed only the files with specified extensions will be displayed in it.

varbsjava
July 24th, 1999, 04:01 AM
Use fileDialog.setFile("*.txt");