Patch p = getSelectedPatch();
IPatch p = getSelectedPatch();
    public void storeSelectedPatch() {        if (!checkSelected()) return;        Patch p = getSelectedPatch();        if (p == null) {	    ErrorMsg.reportError("Error", "That patch is blank.");	    return;	}        //p.getDriver().choosePatch(p, table.getSelectedColumn()*bankDriver.numPatches/bankDriver.numColumns+table.getSelectedRow()); // phil@muqus.com        new SysexStoreDialog(p, table.getSelectedColumn() * bankDriver.getNumPatches() / bankDriver.getNumColumns()			     + table.getSelectedRow());    }