fc2.setCurrentDirectory (new File (prefsDialog.sysexPath));
fc2.setCurrentDirectory (new File (appConfig.getSysexPath()));
        public void actionPerformed (ActionEvent e)        {            JFileChooser fc2=new JFileChooser ();            javax.swing.filechooser.FileFilter type1 = new ExtensionFilter ("Sysex Files",".syx");            fc2.addChoosableFileFilter (type1);            fc2.setCurrentDirectory (new File (prefsDialog.sysexPath));            fc2.setFileFilter (type1);            int returnVal = fc2.showOpenDialog (PatchEdit.this);            if (returnVal == JFileChooser.APPROVE_OPTION)            {                File file = fc2.getSelectedFile ();                try                {                    if (desktop.getSelectedFrame ()==null)                    {ErrorMsg.reportError ("Error","Library to Import Patch\n into Must be in Focus");                    }                    else                        ((PatchBasket)desktop.getSelectedFrame ()).ImportPatch (file);                } catch (IOException ex)                {ErrorMsg.reportError ("Error","Unable to Load Sysex Data",ex);}            };                    }