private void createDefaultPopupMenu() {

		defaultPopupMenu = new JPopupMenu();

		String s = MolecularContainer.getInternationalText("ShowMenuBar");
		final JMenuItem miMenuBar = new JCheckBoxMenuItem(s != null ? s : "Show Menu Bar");
		miMenuBar.addItemListener(new ItemListener() {
			public void itemStateChanged(ItemEvent e) {
				enableMenuBar(e.getStateChange() == ItemEvent.SELECTED);
				notifyChange();
			}
		});
		defaultPopupMenu.add(miMenuBar);

		s = MolecularContainer.getInternationalText("ShowToolBar");
		final JMenuItem miToolBar = new JCheckBoxMenuItem(s != null ? s : "Show Tool Bar");
		miToolBar.addItemListener(new ItemListener() {
			public void itemStateChanged(ItemEvent e) {
				enableToolBar(e.getStateChange() == ItemEvent.SELECTED);
				notifyChange();
			}
		});
		defaultPopupMenu.add(miToolBar);

		defaultPopupMenu.pack();

		defaultPopupMenu.addPopupMenuListener(new PopupMenuListener() {
			public void popupMenuWillBecomeVisible(PopupMenuEvent e) {
				ModelerUtilities.setWithoutNotifyingListeners(miMenuBar, isMenuBarEnabled());
				ModelerUtilities.setWithoutNotifyingListeners(miToolBar, isToolBarEnabled());
			}

			public void popupMenuWillBecomeInvisible(PopupMenuEvent e) {
			}

			public void popupMenuCanceled(PopupMenuEvent e) {
			}
		});

	}