Command tmpCmd = (Command) menuCommands.elementAt(commandList.getSelectedIndex());
Command selection = (Command) menuCommands.elementAt(commandList.getSelectedIndex());
    public void commandAction(Command cmd, Displayable d)     {      Command tmpCmd = (Command) menuCommands.elementAt(commandList.getSelectedIndex());            MIDletBridge.getMIDletAccess().getDisplayAccess().setCurrent(previous);      if ((cmd == SELECT_COMMAND) || cmd == List.SELECT_COMMAND) {        MIDletBridge.getMIDletAccess().getDisplayAccess().commandAction(tmpCmd);      }    }