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
return false;
			}
			return true;
		}
		return false;
	}
	/**
	 * Get the default font for this type of control.
	 * @param control
	 * @return
	 */
	private static Font getDefaultFont(Control control) {
		String fontName = "DEFAULT_FONT_" + control.getClass().getName(); 
		if (JFaceResources.getFontRegistry().hasValueFor(fontName))
			return JFaceResources.getFontRegistry().get(fontName);
		Font cached = control.getFont();
		control.setFont(null);
		Font defaultFont = control.getFont();
		control.setFont(cached);
		JFaceResources.getFontRegistry().put(
			fontName,
			defaultFont.getFontData());
		return defaultFont;
	}
	/**
	 * Return whether or not the dialog font is currently
	 * the same as the default font.
	 * @return boolean if the two are the same
	 */
	protected static boolean dialogFontIsDefault() {