ImportAllDialog sd = new ImportAllDialog (PatchEdit.this,file); sd.show (); } catch (Exception ex) {ErrorMsg.reportError ("Error","Unable to Import Patches",ex);};
ImportAllDialog sd = new ImportAllDialog(PatchEdit.this, file); sd.show(); } catch (Exception ex) { ErrorMsg.reportError("Error", "Unable to Import Patches", ex); }
        public void actionPerformed (ActionEvent e)        {            try            {		CompatibleFileDialog fc = new CompatibleFileDialog();		fc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY); 		if (appConfig.getLibPath() != null)		  fc.setSelectedFile(new File(appConfig.getLibPath())); 		fc.showDialog(PatchEdit.this, "Choose Import All Directory");                File file = fc.getSelectedFile();		if (file == null)		  return;                                ImportAllDialog sd = new ImportAllDialog (PatchEdit.this,file);                sd.show ();            } catch (Exception ex)            {ErrorMsg.reportError ("Error","Unable to Import Patches",ex);};        }