Originally Posted by Kirys
You can do it extending the java.io.FileFilter class, in the accept method you can do all the tests you need to detect if that folder is a Irex folder
then assign that class as the filter class for the dialog.
I know you can filter everything there, but if you accept only irex folders, navigating becomes impossible (the non-irex-folders won't be visible).
I was hoping you could disable the 'open' button when you select a non-irex-folder, but I don't know any easy solution for that. You could always extend the JFileChooser itself, but that was just too much work for that tiny problem