} catch (IOException ex) {ErrorMsg.reportError ("Error", "Unable to Save Exported Patch",ex);}
        public void actionPerformed (ActionEvent e)        {            FileDialog fc3=new FileDialog (PatchEdit.this);	    fc3.setMode(fc3.SAVE);            FilenameFilter type1 = new ExtensionFilter ("Sysex Files (*.syx)",".syx");            fc3.setDirectory (appConfig.getSysexPath());            fc3.setFilenameFilter (type1);	    fc3.show();	    if (fc3.getFile() == null)	      return;	    File file = new File (fc3.getDirectory(), fc3.getFile());	      try                {                    if (desktop.getSelectedFrame ()==null)                    {ErrorMsg.reportError ("Error", "Patch to export must be hilighted\n in the currently focuses Library");}                    else {		      if (!file.getName ().toUpperCase ().endsWith (".SYX"))			file=new File (file.getPath ()+".syx");		      if (file.exists ())			if (JOptionPane.showConfirmDialog (null,"Are you sure?","File Exists",JOptionPane.YES_NO_OPTION) == JOptionPane.NO_OPTION) return;		      ((PatchBasket)desktop.getSelectedFrame ()).ExportPatch (file);		    }                } catch (IOException ex)                {ErrorMsg.reportError ("Error", "Unable to Save Exported Patch",ex);}            }