public void maximize(DockContainer dc) {
		if (mMaximizedContainer != null) {
			mMaximizedContainer.getHeader().adjustToRestoredState();
		}
		mMaximizedContainer = dc;
		mMaximizedContainer.getHeader().adjustToMaximizedState();
		getLayout().forEachDockContainer((target) -> target.setVisible(target == mMaximizedContainer));
		revalidate();
		mMaximizedContainer.acquireFocus();
		repaint();
	}