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