return(PatchEdit.getDriver(myPatch.deviceNum,myPatch.driverNum).editPatch(myPatch));
return myPatch.getDriver().editPatch(myPatch);
    public JInternalFrame EditSelectedPatch()    {        if (table.getSelectedRowCount()==0)        {           ErrorMsg.reportError("Error", "No Patch Selected.");           return null;        }        Patch myPatch=((Patch)myModel.PatchList.get(table.getSelectedRow()));        changed=true;        return(PatchEdit.getDriver(myPatch.deviceNum,myPatch.driverNum).editPatch(myPatch));    }