public static Icon getScaledIcon(Icon icon, int width, int height) {
		if (icon instanceof EmptyIcon) {
			return new EmptyIcon(width, height);
		}

		return new ScaledImageIcon(icon, width, height);
	}
Creates a scaled Icon from the given icon with scaling of 
{@link Image#SCALE_AREA_AVERAGING}. If an EmptyIcon is passed, a new EmptyIcon is returned
with the new dimensions.
 
@param icon the icon to scale
@param width the width of the new icon
@param height the height of the new icon
@return A new, scaled ImageIcon
Ghidra/Framework/Gui/src/main/java/resources/ResourceManager.java