Bug 36141 Misbehaving property page causes property dialog to fail to open
bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceDialog.java
* Method declared on Window.
	 */
	protected void constrainShellSize() {
		super.constrainShellSize();
		
		if (lastShellSize == null)
			lastShellSize = getShell().getSize();
	}
	/* (non-Javadoc)
	 * Method declared on Dialog.
	 */
	protected void createButtonsForButtonBar(Composite parent) {
		
		okButton =
			createButton(
				parent,
				IDialogConstants.OK_ID,
				IDialogConstants.OK_LABEL,
				true);
		getShell().setDefaultButton(okButton);
		cancelButton =
			createButton(
				parent,
				IDialogConstants.CANCEL_ID,
				IDialogConstants.CANCEL_LABEL,
				false);
		if (isHelpAvailable) {
			helpButton =
				createButton(
					parent,