Bug 61313 Platform native icons not used in dialogs
N20040506 For example the 'info' icon for operations in progress, the 'error' icon when an exception occurs, and the 'question' icon when asked to confirm a resource deletion. These used to use the native icons on Windows XP but now they look quite different and non-native. This is a fairly recent regression.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/Dialog.java
* @param textValue
	 *            the original string or <code>null</code>
	 * @param control
	 *            the control the string will be displayed on
	 * @return the string to display, or <code>null</code> if null was passed
	 *         in
	 * 
	 * @since 3.0
	 */
	public static String shortenText(String textValue, Control control) {
		if (textValue == null)
			return null;
		GC gc = new GC(control);
		int maxWidth = control.getBounds().width - 5;
		if (gc.textExtent(textValue).x < maxWidth) {
			gc.dispose();
			return textValue;
		}
		int length = textValue.length();
		int pivot = length / 2;
		int start = pivot;
		int end = pivot + 1;
		while (start >= 0 && end < length) {
			String s1 = textValue.substring(0, start);
			String s2 = textValue.substring(end, length);
			String s = s1 + ELLIPSIS + s2;
			int l = gc.textExtent(s).x;
			if (l < maxWidth) {
				gc.dispose();
				return s;