*
*/
protected void exportRequestLog( final File toFile ) throws IOException {
final DBExporter exporter = new DBExporter( db );
final DBExporter.Format format = (DBExporter.Format) formats.getSelectedItem();
final String sql = " select * " +
" from request_log " +
" order by date_of_request desc ";
final FileWriter writer = new FileWriter( toFile );
final String data = exporter.export( sql, format );
writer.write( data );
writer.close();
fireRequestLogChanged();