if (col==2) ((Driver)PatchEdit.getDriver(((Patch)PatchList.get (row)).deviceNum,((Patch)PatchList.get (row)).driverNum)).setPatchName (((Patch)PatchList.get (row)),(String)value); if (col==3) ((Patch)PatchList.get (row)).date=(StringBuffer)value; if (col==4) ((Patch)PatchList.get (row)).author=(StringBuffer)value; if (col==5) ((Patch)PatchList.get (row)).comment=(StringBuffer)value;
Patch myPatch=(Patch)PatchList.get(row); if (col==2) myPatch.getDriver().setPatchName(myPatch,(String)value); if (col==3) myPatch.date=(StringBuffer)value; if (col==4) myPatch.author=(StringBuffer)value; if (col==5) myPatch.comment=(StringBuffer)value;
     public void setValueAt (Object value, int row, int col)     {         changed=true;         if (col==2) ((Driver)PatchEdit.getDriver(((Patch)PatchList.get (row)).deviceNum,((Patch)PatchList.get (row)).driverNum)).setPatchName (((Patch)PatchList.get (row)),(String)value);         if (col==3) ((Patch)PatchList.get (row)).date=(StringBuffer)value;         if (col==4) ((Patch)PatchList.get (row)).author=(StringBuffer)value;         if (col==5) ((Patch)PatchList.get (row)).comment=(StringBuffer)value;         fireTableCellUpdated (row, col);              }