// we add the commands in reverse order so that we are
// sure the button layer is sorting it correctly
for (int i = 0; i < 2; i++) {
canvas.addCommand(new Command("STOP" + i, Command.STOP, i));
canvas.addCommand(new Command("CANCEL" + i, Command.CANCEL, i));
canvas.addCommand(new Command("EXIT" + i, Command.EXIT, i));
canvas.addCommand(new Command("HELP" + i, Command.HELP, i));
canvas.addCommand(new Command("OK" + i, Command.OK, i));
canvas.addCommand(new Command("SCREEN" + i, Command.SCREEN, i));
canvas.addCommand(new Command("ITEM" + i, Command.ITEM, i));