((Device)PatchEdit.deviceList.get (row)).setInPort(new Integer (Integer.parseInt (((String)value).substring (0,1))).intValue ());
((Device)PatchEdit.appConfig.getDevice (row)).setInPort(new Integer (Integer.parseInt (((String)value).substring (0,1))).intValue ());
     public void setValueAt (Object value, int row, int col)     {         if (col==0)             ((Device)PatchEdit.deviceList.get (row)).setSynthName ((String)value);         if (col==2)             try             {                 ((Device)PatchEdit.deviceList.get (row)).setInPort (new Integer (Integer.parseInt (((String)value).substring (0,2))).intValue ());             }             catch (Exception e)             {                 ((Device)PatchEdit.deviceList.get (row)).setInPort(new Integer (Integer.parseInt (((String)value).substring (0,1))).intValue ());             }      if (col==3)             try             {                 ((Device)PatchEdit.deviceList.get (row)).setPort (new Integer (Integer.parseInt (((String)value).substring (0,2))).intValue ());             }             catch (Exception e)             {                 ((Device)PatchEdit.deviceList.get (row)).setPort(new Integer (Integer.parseInt (((String)value).substring (0,1))).intValue ());             }                if (col==4)                 ((Device)PatchEdit.deviceList.get (row)).setChannel(((Integer)value).intValue ());             fireTableCellUpdated (row, col);                  }