public void actionPerformed (ActionEvent e) { try { ((PatchBasket)desktop.getSelectedFrame ()).CopySelectedPatch (); } catch (Exception ex) {ErrorMsg.reportError ("Error","Patch to copy must be highlighted\nin the focused Window.",ex);};
public void actionPerformed(ActionEvent e) { try { ((PatchBasket) desktop.getSelectedFrame()).CopySelectedPatch(); } catch (Exception ex) { ErrorMsg.reportError("Error", "Patch to copy must be highlighted\nin the focused Window.", ex);
        public void actionPerformed (ActionEvent e)        {            try            {                ((PatchBasket)desktop.getSelectedFrame ()).CopySelectedPatch ();            } catch (Exception ex)            {ErrorMsg.reportError ("Error","Patch to copy must be highlighted\nin the focused Window.",ex);};        }