public void setNavigator(Navigator n) {
		navigator = n;
		if (navigator == null)
			return;
		navigator.setNavigable(this);
		// register key bindings
		Action a = navigator.getAction(Navigator.BACK);
		getInputMap().put((KeyStroke) a.getValue(Action.ACCELERATOR_KEY), Navigator.BACK);
		getActionMap().put(Navigator.BACK, a);
		a = navigator.getAction(Navigator.FORWARD);
		getInputMap().put((KeyStroke) a.getValue(Action.ACCELERATOR_KEY), Navigator.FORWARD);
		getActionMap().put(Navigator.FORWARD, a);
		a = navigator.getAction(Navigator.HOME);
		getInputMap().put((KeyStroke) a.getValue(Action.ACCELERATOR_KEY), Navigator.HOME);
		getActionMap().put(Navigator.HOME, a);
	}