bankDriver = (BankDriver) PatchEdit.getDriver(p.deviceNum, p.driverNum);
bankDriver = (BankDriver) p.getDriver();
    protected BankEditorFrame(Patch p) {        super(PatchEdit.appConfig.getDevice(p.deviceNum).getModelName() + " "	      + PatchEdit.getDriver(p.deviceNum, p.driverNum).getPatchType()	      + " Window",	      true, //resizable	      true, //closable	      true, //maximizable	      true); // iconifiable        instance = this;	bankData = p;        bankDriver = (BankDriver) PatchEdit.getDriver(p.deviceNum, p.driverNum);        InitBankEditorFrame();    }