JMenu createToolBarMenu(final JMenuItem removeToolBarItem) {

		String s = getInternationalText("Tools");
		JMenu menu = new JMenu(s != null ? s : "Tools");
		menu.setMnemonic(KeyEvent.VK_T);
		menu.addMenuListener(new MenuListener() {
			public void menuSelected(MenuEvent e) {
				removeToolBarItem.setEnabled(hasToolbar() && isAuthorable());
			}

			public void menuCanceled(MenuEvent e) {
			}

			public void menuDeselected(MenuEvent e) {
			}
		});

		s = getInternationalText("AddAllTools");
		JMenuItem menuItem = new JMenuItem(s != null ? s : "Add All Tools");
		menuItem.setMnemonic(KeyEvent.VK_A);
		menuItem.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				addAllToolBarButtons();
				MDContainer.this.validate();
				getModel().notifyChange();
			}
		});
		menu.add(menuItem);
		enabledComponentsWhenEditable.add(menuItem);

		s = getInternationalText("RemoveToolBar");
		if (s != null)
			removeToolBarItem.setText(s);
		removeToolBarItem.setMnemonic(KeyEvent.VK_R);
		removeToolBarItem.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				String s = getInternationalText("DoYouReallyWantToRemoveToolBar");
				String t = getInternationalText("RemoveEntireToolBar");
				if (JOptionPane.showConfirmDialog(getView(), s != null ? s : "Do you really want to remove the toolbar?", t != null ? t : "Remove Toolbar", JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE) == JOptionPane.YES_OPTION) {
					removeToolbar();
					getModel().notifyChange();
				}
			}
		});
		menu.add(removeToolBarItem);
		enabledComponentsWhenEditable.add(removeToolBarItem);
		menu.addSeparator();

		s = getInternationalText("CustomizeToolBar");
		menuItem = new JMenuItem((s != null ? s : "Customize") + "...");
		menuItem.setMnemonic(KeyEvent.VK_C);
		menuItem.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				showToolBarDialog();
			}
		});
		enabledComponentsWhenEditable.add(menuItem);
		menu.add(menuItem);

		return menu;

	}