public void actionPerformed(ActionEvent e) {
			Dockable d = focusHandler.getCurrentDockable();
			if (d != null) {
				if (d.getDockKey().isAutoHideEnabled()) {
					DockableState.Location location = d.getDockKey()
							.getLocation();
					if (location == DockableState.Location.DOCKED) {
						setAutoHide(d, true);
					} else if (location == DockableState.Location.HIDDEN) {
						setAutoHide(d, false);
					}
				}
			}
		}