IPatchDriver d = myPatch.getDriver(); if (d instanceof ISingleDriver) { ((ISingleDriver)d).calculateChecksum(myPatch); ((ISingleDriver)d).sendPatch(myPatch); ((ISingleDriver)d).playPatch(myPatch);
if (myPatch.getDriver() instanceof ISingleDriver) { myPatch.calculateChecksum(); myPatch.send(); myPatch.play();
    public void playSelectedPatch() {	IPatch myPatch = myModel.getPatchAt(table.getSelectedRow());	IPatchDriver d = myPatch.getDriver();	if (d instanceof ISingleDriver) {	    ((ISingleDriver)d).calculateChecksum(myPatch);	    ((ISingleDriver)d).sendPatch(myPatch);	    ((ISingleDriver)d).playPatch(myPatch);	}    }