Patch p=new Patch(buffer, this);
IPatch p=new Patch(buffer, this);
public Patch createNewPatch()  {  try {    InputStream fileIn= getClass().getResourceAsStream("BossDR660Drumkit.new");    byte [] buffer =new byte [1387];    fileIn.read(buffer);    fileIn.close();    Patch p=new Patch(buffer, this);    return p;  }catch (Exception e) {ErrorMsg.reportError("Error","Unable to find Defaults",e);return null;}  }