jfc.setFileFilter(ff);
// Pipe-Delimited
ff = new SimpleFileFilter("txt",
"Pipe-Delimited Text File (*.txt)",
new DelimitedTextTableReader("|"));
ff.addExtension("gz");
jfc.setFileFilter(ff);
// Tab-Delimited
ff = new SimpleFileFilter("txt",
"Tab-Delimited Text File (*.txt)",
new DelimitedTextTableReader());
ff.addExtension("gz");
jfc.setFileFilter(ff);
int retval = jfc.showOpenDialog(c);
if (retval != JFileChooser.APPROVE_OPTION)