Bug 236324 [Forms] Eclipse 3.4 crashes / failes to repaint when "Close Others" is used with SharedHeaderFormEditor
bundles/org.eclipse.ui.forms/src/org/eclipse/ui/internal/forms/widgets/FormImages.java
gc.setBackground(lastColor);
				if (vertical) {
					int gradientHeight = percents[i] * height / 100;
					
					gc.fillGradientRectangle(0, pos, width, gradientHeight,
							true);
					pos += gradientHeight;
				} else {
					int gradientWidth = percents[i] * height / 100;
					
					gc.fillGradientRectangle(pos, 0, gradientWidth, height,
							false);
					pos += gradientWidth;
				}
			}
			if (vertical && pos < height) {
				if (bg != null)
					gc.setBackground(bg);
				gc.fillRectangle(0, pos, width, height - pos);
			}
			if (!vertical && pos < width) {
				if (bg != null)
					gc.setBackground(bg);
				gc.fillRectangle(pos, 0, width - pos, height);
			}
			gc.setForeground(oldForeground);
		}
	}
}