private boolean isMenuCommands(Vector commands, int nSoftButtons) { if ( (nSoftButtons > 1) && (commands.size() == 2) && ((Command)commands.elementAt(0) == BACK_COMMAND) && ((Command)commands.elementAt(1) == SELECT_COMMAND) ) return true; return false;
private boolean isMenuCommands(Vector commands, int nSoftButtons) { if ((nSoftButtons > 1) && (commands.size() == 2) && ((Command)commands.elementAt(0) == BACK_COMMAND) && ((Command)commands.elementAt(1) == SELECT_COMMAND)) { return true;
    private boolean isMenuCommands(Vector commands, int nSoftButtons) {        if ( (nSoftButtons > 1) &&             (commands.size() == 2) &&             ((Command)commands.elementAt(0) == BACK_COMMAND) &&             ((Command)commands.elementAt(1) == SELECT_COMMAND) )            return true;        return false;    }