File file = new File(fc2.getDirectory());
        public void actionPerformed (ActionEvent e)        {            try            {	        FolderDialog fc2=new FolderDialog (PatchEdit.this, "Choose Import All Directory");                FilenameFilter type1 = new ExtensionFilter ("Sysex Files",".syx");                fc2.setFilenameFilter (type1);                fc2.setDirectory (appConfig.getSysexPath());		fc2.show();		if (fc2.getDirectory() == null)		  return;                File file = new File(fc2.getDirectory());                                ImportAllDialog sd = new ImportAllDialog (PatchEdit.this,file);                sd.show ();            } catch (Exception ex)            {ErrorMsg.reportError ("Error","Unable to Import Patches",ex);};        }