Patch p = library.GetSelectedPatch();
Patch p = library.getSelectedPatch();
    void play() {	try{	    PatchBasket library=(PatchBasket)JSLDesktop.getSelectedFrame();	    Patch p = library.GetSelectedPatch();	    if (p==null) return;	    p.getDriver().sendPatch(p);	    p.getDriver().playPatch(p);	} catch (Exception ex) {	    JOptionPane.showMessageDialog(null, "Patch Must be Focused","Error", JOptionPane.ERROR_MESSAGE);	}    }