}
((MCTAbstractHousing) housing).setJMenuBar(MenuFactory.createStandardHousingMenuBar((MCTStandardHousing) housing));
new StatusBarContentProvider(housing);
if (housing.getContentArea() != null && !housing.getContentArea().isAreaEmpty()) {
// use preferred size since the content area is going to be the dominate focus
MCTAbstractHousing abstractHousing = ((MCTAbstractHousing) housing);
abstractHousing.pack();
Rectangle maximumWindowBounds = abstractHousing.getGraphicsConfiguration() != null ? abstractHousing.getGraphicsConfiguration().getBounds() :
GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWindowBounds();
abstractHousing.setSize(Math.min((int) (maximumWindowBounds.width*MAX_SCALE_FACTOR), abstractHousing.getSize().width),
Math.min((int) (maximumWindowBounds.height*MAX_SCALE_FACTOR), abstractHousing.getSize().height));
housing.getContentArea().getHousedViewManifestation().requestFocusInWindow();
}
if (activeWindow != null) {