if (name.length() < patchNameSize) name = name + "            "; byte[] namebytes = new byte[64];
while (name.length() < patchNameSize) name = name + " ";  byte[] namebytes = new byte[patchNameSize];
    public void setPatchName(Patch p, String name) { // called by bank driver        if (patchNameSize == 0) {	    ErrorMsg.reportError("Error", "The Driver for this patch does not support Patch Name Editing.");	    return;	}        if (name.length() < patchNameSize)	    name = name + "            ";        byte[] namebytes = new byte[64];        try {	    namebytes = name.getBytes("US-ASCII");	    for (int i = 0; i < patchNameSize; i++)		p.sysex[patchNameStart + i] = namebytes[i];	} catch (UnsupportedEncodingException ex) {	    return;	}        calculateChecksum(p);	// Is this required here?    }