dev=(Device)PatchEdit.deviceList.get (k);
dev=(Device)PatchEdit.appConfig.getDevice (k);
    public Patch[] dissect ()    {        Device dev;        int looplength;        Patch[] patarray=null;        StringBuffer patchString= new StringBuffer ("F0");        for (int k=1;k<16;k++)        {            if (sysex[k]<16) patchString.append ("0");            patchString.append (Integer.toHexString (sysex[k]));        }                for (int k=0;k<PatchEdit.deviceList.size ();k++)        { // Do it for all converters. They should be at the beginning of the driver list!            dev=(Device)PatchEdit.deviceList.get (k);            for (int j=0;j<dev.driverList.size ();j++)            {                if (!(dev.driverList.get (j) instanceof Converter))                    continue;                if (!((Driver)(dev.driverList.get (j))).supportsPatch (patchString,this))                { // Try, until one converter was successfull                    continue;                }                patarray=((Converter)(dev.driverList.get (j))).extractPatch (this);                if (patarray!=null)                {                    break;                }            }            //    k++;        }        if (patarray!=null)        { // Conversion was sucessfull, we have at least one converted patch            looplength=patarray.length;        }        else        { // No conversion. Try just the original patch....            looplength=1;            patarray=new Patch[1];            patarray[0]=this;        }        return patarray;    }