private JMenuBar createMenuBar(UserPreferences preferences,
			Controller controller) {

		// Cr�ation du menu Fichier
		JMenu fileMenu = new JMenu(
				this.menuActionMap.get(MenuActionType.FILE_MENU));
		addActionToMenu(ActionType.NEW, fileMenu);
		addActionToMenu(ActionType.OPEN, fileMenu);

		fileMenu.addSeparator();
		addActionToMenu(ActionType.CLOSE, fileMenu);
		addActionToMenu(ActionType.SAVE, fileMenu);
		addActionToMenu(ActionType.SAVE_AS, fileMenu);
		fileMenu.addSeparator();
		addActionToMenu(ActionType.PREFERENCES, fileMenu);
		addActionToMenu(ActionType.EXPORT, fileMenu);
		addActionToMenu(ActionType.PRINT, fileMenu);
		addActionToMenu(ActionType.EXIT, fileMenu);

		// Cr�ation du menu Edition
		JMenu editMenu = new JMenu(
				this.menuActionMap.get(MenuActionType.EDIT_MENU));

		addActionToMenu(ActionType.UNDO, editMenu);
		addActionToMenu(ActionType.REDO, editMenu);
		editMenu.addSeparator();
		addActionToMenu(ActionType.CUT, editMenu);
		addActionToMenu(ActionType.COPY, editMenu);
		addActionToMenu(ActionType.PASTE, editMenu);
		editMenu.addSeparator();
		addActionToMenu(ActionType.DELETE, editMenu);
		addActionToMenu(ActionType.SELECT_ALL, editMenu);

		// Cr�ation du menu Ajouter
		JMenu addMenu = new JMenu(
				this.menuActionMap.get(MenuActionType.ADD_MENU));
		addMenu.add(createNewTableMenu());
		addMenu.add(createNewFunctionMenu());
		addActionToMenu(ActionType.IMPORT, addMenu);

		// Cr�ation du menu Simplifier
		JMenu simplifyMenu = new JMenu(
				this.menuActionMap.get(MenuActionType.SIMPLIFY_MENU));
		addActionToMenu(ActionType.MINIMIZED_FUNCTION, simplifyMenu);
		addActionToMenu(ActionType.DETAILED_SOLUTION, simplifyMenu);

		// Cr�ation du menu Aide
		JMenu helpMenu = new JMenu(
				this.menuActionMap.get(MenuActionType.HELP_MENU));
		addActionToMenu(ActionType.HELP, helpMenu);
		addActionToMenu(ActionType.ABOUT, helpMenu);

		// cr�ation de la bar de menus
		JMenuBar menuBar = new JMenuBar();
		menuBar.add(fileMenu);
		menuBar.add(editMenu);
		menuBar.add(addMenu);
		menuBar.add(simplifyMenu);
		menuBar.add(helpMenu);
		return menuBar;
	}