public void stateChanged(ChangeEvent evt) {
			// our only problem is at startup : the focus may be out of the
			// tabbed pane
			// and we are firing a false selection event.
			// @todo correct this behaviour by checking if the focus is not
			// already
			// outside this component
			JTabbedPane pane = (JTabbedPane) evt.getSource();
			TabbedDockableContainer tdc = ((TabbedDockableContainer) pane);
			Dockable selDockable = tdc.getSelectedDockable();
			if (selDockable == null) { // this may happen when maximization
										// occurs
				// ignore
			} else {
				currentDockable = selDockable;
				if (selDockable != lastFocusedDockable) {
					lastFocusedDockable = selDockable;
					context.fireDockableSelectionChange(new DockableSelectionEvent(
							selDockable));
				}
			}
		}