question: public CFilenameFormatter ( final File directory ) { Preconditions . checkArgument ( directory . exists ( ) , "Error: Direcctory must exist." ) ; m_directory = directory ; }
target:  Filter for JFormattedTextField. Ensures valid filenames. Does not work for directories.