((PatchBasket) JSLDesktop.getSelectedFrame()).SendSelectedPatch();
((PatchBasket) JSLDesktop.getSelectedFrame()).sendSelectedPatch();
        public void actionPerformed(ActionEvent e) {            try {		((PatchBasket) JSLDesktop.getSelectedFrame()).SendSelectedPatch();	    } catch (Exception ex) {		ErrorMsg.reportError("Error", "Patch to Send must be highlighted in the focused Window.", ex);	    }        }