/* Export the table names list to a txt file */
if (e.getActionCommand().equals("Export to file"))
{
destinationFolderChooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
destinationFolderChooser.setFileFilter(new FolderFileFilter());
destinationFolderChooser.setDialogTitle("Choose the destination folder");
int value = destinationFolderChooser.showOpenDialog(this);
// Return value if approved (ie yes, ok) is chosen.