this is called when you should ask the user for a source file to read . concode_field_sep Window parent concode_field_sep void reportError
File function ( FileFilter arg0 ) { JFileChooser loc0 = new JFileChooser ( ) ; loc0 . addChoosableFileFilter ( arg0 ) ; if ( loc0 . showOpenDialog ( parent ) != JFileChooser . APPROVE_OPTION ) { return null ; } return loc0 . getSelectedFile ( ) ; }