Device myDevice=(Device)PatchEdit.deviceList.get (row);
Device myDevice=(Device)PatchEdit.appConfig.getDevice (row);
     public Object getValueAt (int row, int col)     {                  Device myDevice=(Device)PatchEdit.deviceList.get (row);                  if (col==0) return myDevice.getSynthName ();         if (col==1) return myDevice.getManufacturerName ()+" "+myDevice.getModelName ();         if (col==2)         {try          {              return myDevice.getInPort ()+": "+PatchEdit.MidiOut.getInputDeviceName (myDevice.getInPort ());          }catch (Exception e)          {return "-";}         }         if (col==3)         {try          {              return myDevice.getPort ()+": "+PatchEdit.MidiOut.getOutputDeviceName (myDevice.getPort ());          }catch (Exception e)          {return "-";}         }                  return new Integer (myDevice.getChannel ());              }