public void setCurrentDockable(Dockable dockable) {
		int index = mDockables.indexOf(dockable);
		if (index != -1) {
			int wasCurrent = mCurrent;
			mCurrent = index;
			for (Dockable one : mDockables) {
				one.setVisible(dockable == one);
			}
			mHeader.revalidate();
			repaint();
			acquireFocus();
			if (mActive && wasCurrent != mCurrent) {
				dockable.activated();
			}
		}
	}