if (retval != JFileChooser.APPROVE_OPTION)
return null;
File f = jfc.getSelectedFile();
ff = (SimpleFileFilter)jfc.getFileFilter();
TableReader tr = (TableReader)ff.getUserData();
try {
return tr.readTable(streamFromString(f.getAbsolutePath()));
} catch ( Exception e ) {
Logger.getLogger(IOLib.class.getName()).warning(
e.getMessage() + "\n" + StringLib.getStackTrace(e));
return null;
}