private JToolBar createToolBar() {
		final JToolBar toolBar = new JToolBar();
		addActionToToolBar(ActionType.NEW, toolBar);
		addActionToToolBar(ActionType.OPEN, toolBar);
		addActionToToolBar(ActionType.SAVE, toolBar);
		toolBar.addSeparator();

		addActionToToolBar(ActionType.UNDO, toolBar);
		addActionToToolBar(ActionType.REDO, toolBar);
		toolBar.add(Box.createRigidArea(new Dimension(2, 2)));
		addActionToToolBar(ActionType.CUT, toolBar);
		addActionToToolBar(ActionType.COPY, toolBar);
		addActionToToolBar(ActionType.PASTE, toolBar);
		toolBar.addSeparator();
		addActionToToolBar(ActionType.AND, toolBar);
		addActionToToolBar(ActionType.OR, toolBar);
		addActionToToolBar(ActionType.NOT, toolBar);
		addActionToToolBar(ActionType.NAND, toolBar);
		addActionToToolBar(ActionType.NOR, toolBar);
		addActionToToolBar(ActionType.XOR, toolBar);
		toolBar.addSeparator();
		addActionToToolBar(ActionType.CLOSE, toolBar);

		return toolBar;
	}