deviceCreated = true;
}
createPatchDriver(patchEditor, infoText,
(IPatchDriver) driver);
} else if (jslFrame instanceof BankEditorFrame) {
BankEditorFrame frame = (BankEditorFrame) jslFrame;
IDriver driver = frame.getBankData().getDriver();
if (!deviceCreated) {
device = driver.getDevice();
createDevice(device, infoText);
deviceCreated = true;
}