fc2.setCurrentDirectory (new File (prefsDialog.sysexPath));
fc2.setCurrentDirectory (new File (appConfig.getSysexPath()));
        public void actionPerformed (ActionEvent e)        {            try            {                JFileChooser fc2=new JFileChooser ();                javax.swing.filechooser.FileFilter type1 = new ExtensionFilter ("Sysex Files",".syx");                fc2.addChoosableFileFilter (type1);                fc2.setFileFilter (type1);                fc2.setCurrentDirectory (new File (prefsDialog.sysexPath));                fc2.setFileSelectionMode (JFileChooser.DIRECTORIES_ONLY);                fc2.setDialogTitle ("Choose Directory to Import All Files From");                int returnVal = fc2.showOpenDialog (PatchEdit.this);                if (returnVal != JFileChooser.APPROVE_OPTION) return;                File file = fc2.getSelectedFile ();                                ImportAllDialog sd = new ImportAllDialog (PatchEdit.this,file);                sd.show ();            } catch (Exception ex)            {ErrorMsg.reportError ("Error","Unable to Import Patches",ex);};        }