Bug 55827 [Contributions] Need to remove refs to Platform.getDebugOption from JFace
build I20040323 Standalone JFace applications are currently broken due to several refs to Platform.getDebugOption in JFace, which is only available if Eclipse is running. Should have static flags for the various debug options in JFace, and initialize them from the Workbench.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/Dialog.java
button.computeSize(SWT.DEFAULT, SWT.DEFAULT, true).x);
		button.setLayoutData(data);
	}
	/**
	 * @see org.eclipse.jface.window.Window#close()
	 */
	public boolean close() {
		boolean returnValue = super.close();
		if (returnValue) {
			buttons = new HashMap();
			buttonBar = null;
			dialogArea = null;
		}
		return returnValue;
	}
	/**
	 * Applies the dialog font to all controls that currently have the default
	 * font.
	 * 
	 * @param control the control to apply the font to. Font will also be applied to
	 * its children. If the control is <code>null</code> nothing happens.
	 */
	public static void applyDialogFont(Control control) {
		if (control == null || dialogFontIsDefault())
			return;
		Font dialogFont = JFaceResources.getDialogFont();
		applyDialogFont(control, dialogFont);
	}
	/**
	 * Sets the dialog font on the control and any of its children if thier