fc.setCurrentDirectory (new File (prefsDialog.libPath));
fc.setCurrentDirectory (new File (appConfig.getLibPath()));
        public void actionPerformed (ActionEvent e)        {            JFileChooser fc=new JFileChooser ();            javax.swing.filechooser.FileFilter type1 = new ExtensionFilter ("PatchEdit Library Files",new String[] {".patchlib",".perflib"});            fc.setCurrentDirectory (new File (prefsDialog.libPath));            fc.addChoosableFileFilter (type1);            fc.setFileFilter (type1);            int returnVal = fc.showOpenDialog (PatchEdit.this);            if (returnVal == JFileChooser.APPROVE_OPTION)            {                File file = fc.getSelectedFile ();                openFrame (file);            }        }