Bug 86456 [Dialogs] Dialogs open on wrong monitor
bundles/org.eclipse.jface/src/org/eclipse/jface/window/Window.java
}
		Layout layout = getLayout();
		if (layout != null)
			newShell.setLayout(layout);
	}
	/**
	 * Creates the layout for the shell. The layout created here will be
	 * attached to the composite passed into createContents. The default
	 * implementation returns a GridLayout with no margins. Subclasses that
	 * change the layout type by overriding this method should also override
	 * createContents.
	 * 
	 * <p>
	 * A return value of null indicates that no layout should be attached to the
	 * composite. In this case, the layout may be attached within
	 * createContents.
	 * </p>
	 * 
	 * @return a newly created Layout or null if no layout should be attached.
	 * @since 3.0
	 */
	protected Layout getLayout() {
		GridLayout layout = new GridLayout();
		layout.marginHeight = 0;
		layout.marginWidth = 0;
		return layout;
	}
	/**
	 * Constrain the shell size to be no larger than the display bounds.
	 *