/** * Sets the menu to the current menu * * @param menu the selected menu */ public void setCurrentMenu(ArrayList menu) { javax.swing.Timer timer = new Timer(500, null); timer.start(); voiceMenu.setVoiceMenu(menu); }