separate thread.
*/
protected void indexDir() {
IndexerFileChooser fc = new IndexerFileChooser();
fc.setFileSelectionMode( JFileChooser.DIRECTORIES_ONLY );
int retval = fc.showDialog( this, "Select directory to index" );
if ( retval == JFileChooser.APPROVE_OPTION ) {
File dir = fc.getSelectedFile();
// First check that this directory has not been indexed previously
VolumeBase prevVolume = null;