posted 14 years ago
The following code is used to browse for files in my program:
Then I wanted to limit whatever comes up to directories and text files (files with a .txt extension), so I uncommented the the lines in the code that are commented above, and add this class:
This filtered all the files except for files with a .txt extension, just like I wanted, but it got rid of the directories too.. How do I change this so that it only shows file with a .txt extension and directories?