/** * Sets and switch to the current behavior * * @param behav the selected behavior */ public void setCurrentBehavior(MyBehavior behav) { currentBehavior = behav; exeState = true; setClippyTxt("Entering " + currentBehavior.getName()); voiceMenu.setBehavior(currentBehavior); }