fc3.setCurrentDirectory (new File (prefsDialog.sysexPath));
fc3.setCurrentDirectory (new File (appConfig.getSysexPath()));
        public void actionPerformed (ActionEvent e)        {            JFileChooser fc3=new JFileChooser ();            javax.swing.filechooser.FileFilter type1 = new ExtensionFilter ("Sysex Files",".syx");            fc3.addChoosableFileFilter (type1);            fc3.setCurrentDirectory (new File (prefsDialog.sysexPath));            fc3.setFileFilter (type1);            int returnVal = fc3.showSaveDialog (PatchEdit.this);            if (returnVal == JFileChooser.APPROVE_OPTION)            {                File file = fc3.getSelectedFile ();                try                {                    if (desktop.getSelectedFrame ()==null)                    {ErrorMsg.reportError ("Error", "Patch to export must be hilighted\n in the currently focuses Library");}                    else                        ((PatchBasket)desktop.getSelectedFrame ()).ExportPatch (file);                } catch (IOException ex)                {ErrorMsg.reportError ("Error", "Unable to Save Exported Patch",ex);}            }        }