public void setPatchName(IPatch p, String name)
public void setPatchName(Patch p, String name)
  public void setPatchName(IPatch p, String name)  {    if (patchNameSize==0)       {JOptionPane.showMessageDialog(null,        "The Driver for this patch does not support Patch Name Editing.","Error", JOptionPane.ERROR_MESSAGE);         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++)           ((Patch)p).sysex[patchNameStart+(i*2)]=namebytes[i];        } catch (UnsupportedEncodingException ex) {return;}    calculateChecksum(p);  }