public void actionPerformed (ActionEvent e) { try { Patch p=Clipboard; NewPatchDialog np=new NewPatchDialog (PatchEdit.this); np.show (); ((PatchBasket)desktop.getSelectedFrame ()).PastePatch (); Clipboard=p; } catch (Exception ex) {ErrorMsg.reportError ("Error","Unable to create this new patch.", ex);};
public void actionPerformed(ActionEvent e) { try { Patch p = Clipboard; NewPatchDialog np = new NewPatchDialog(PatchEdit.this); np.show(); ((PatchBasket) desktop.getSelectedFrame()).PastePatch(); Clipboard = p; } catch (Exception ex) { ErrorMsg.reportError("Error", "Unable to create this new patch.", ex);
        public void actionPerformed (ActionEvent e)        {            try            {                Patch p=Clipboard;                NewPatchDialog np=new NewPatchDialog (PatchEdit.this);                np.show ();                ((PatchBasket)desktop.getSelectedFrame ()).PastePatch ();                Clipboard=p;            } catch (Exception ex)            {ErrorMsg.reportError ("Error","Unable to create this new patch.", ex);};        }