Bug 51837 [Progress] Bad message in progress dialog
I20040210 I got a bogus message when running a pile of jobs. A progress dialog appeared that read: "The operation cannot proceed because it is blocked by a background" A background what? :)
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/Dialog.java
*	fontMetrics = gc.getFontMetrics();
	 *	gc.dispose();
	 * </code>
	 * </p>
	 *
	 * @param fontMetrics used in performing the conversion
	 * @param dlus the number of horizontal dialog units
	 * @return the number of pixels
	 * @since 2.0
	 */
	public static int convertHorizontalDLUsToPixels(
		FontMetrics fontMetrics,
		int dlus) {
		
		return (
			fontMetrics.getAverageCharWidth() * dlus
				+ HORIZONTAL_DIALOG_UNIT_PER_CHAR / 2)
			/ HORIZONTAL_DIALOG_UNIT_PER_CHAR;
	}
	/**
	 * Returns the number of pixels corresponding to the
	 * given number of vertical dialog units.
	 * <p>
	 * The required <code>FontMetrics</code> parameter may be created in the 
	 * following way:
	 * <code>
	 * 	GC gc = new GC(control);
	 *	gc.setFont(control.getFont());
	 *	fontMetrics = gc.getFontMetrics();
	 *	gc.dispose();