@Override
		public void drawString( String str, int x, int y ) {
			Paint oldPaint = getPaint();
			setPaint( textColor );
			super.drawString( str, x, y );
			setPaint( oldPaint );
		}
Calculates the maximum width of all menu item icons in the popup.
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatMenuItemRenderer.java