ISinglePatch myPatch = (ISinglePatch) myModel.getPatchAt(table.getSelectedRow()); if (myPatch.isSinglePatch()) { myPatch.send(); myPatch.play(); }
ISinglePatch myPatch = (ISinglePatch) getSelectedPatch(); myPatch.send(); myPatch.play();
    public void playSelectedPatch() {        ISinglePatch myPatch = (ISinglePatch) myModel.getPatchAt(table.getSelectedRow());        if (myPatch.isSinglePatch()) {            myPatch.send();            myPatch.play();        }    }