((Device)PatchEdit.deviceList.get(myPerformance.getPatch().deviceNum)).setSynthName((String)value);
PatchEdit.appConfig.getDevice(myPerformance.getPatch().deviceNum).setSynthName((String)value);
     public void setValueAt(Object value, int row, int col) {         //System.out.println("SetValue at "+row+"  "+col+" Value:"+value);         changed=true;         Performance myPerformance=(Performance)performanceList.get(row);         if (col==0) {             ((Device)PatchEdit.deviceList.get(myPerformance.getPatch().deviceNum)).setSynthName((String)value);         }         if (col==1) {             // don't allow to change the Patch Type         }         if (col==2) {             // don't allow to change the Patch Name         }         if (col==3) {             myPerformance.setBankNumber(((Integer)value).intValue());         }         if (col==4) {             myPerformance.setPatchNumber(((Integer) value).intValue());         }         if (col==5) {             /* Comment */             myPerformance.setComment(new StringBuffer((String)value));         }         performanceList.set(row,myPerformance);     }