Event -2
Command ok = new Command(“OK",
Command.SCREEN, 0);
Command cancel = new Command(“Cancel",
Command.SCREEN, 0);
aForm.addCommand(ok);
aForm.addCommand(cancel);
aForm.setCommandListener(this);