public void editorEnabled(EditorEvent e) {
		if (!EventQueue.isDispatchThread())
			throw new RuntimeException("This method must be called by the AWT event thread");
		getContentPane().remove(toolBar);
		editor.setToolBarOffset(0);
	}