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