IPatch myPatch = myModel.getPatchAt(table.getSelectedRow()); if (myPatch.getDriver().isSingleDriver()) {
ISinglePatch myPatch = (ISinglePatch) myModel.getPatchAt(table.getSelectedRow()); if (myPatch.isSinglePatch()) {
    public void sendSelectedPatch() {        IPatch myPatch = myModel.getPatchAt(table.getSelectedRow());        if (myPatch.getDriver().isSingleDriver()) {            myPatch.send();        }    }