Image question = UiUtil.getImage("/icons/questionMk.png");
formAlert.append(question);
int ix = formAlert.append(new StringItem(null,
(String)promptCommands.get(origCmd)));
Command okCmd = UiUtil.getCmdRsc("cmd.ok", Command.OK, 1);
formAlert.addCommand(okCmd);
Command cancelCmd = UiUtil.getCmdRsc("cmd.cancel", Command.CANCEL, 2);
formAlert.addCommand(cancelCmd);
promptAlert = new Alert(origCmd.getLabel(),
((StringItem)formAlert.get(ix)).getText(), question,
AlertType.CONFIRMATION);