private void update() {
		if( loadFailed )
			return;

		if( dark == isDarkLaf() && document != null )
			return;

		dark = isDarkLaf();

		// SVGs already loaded via url, file or input stream can not have light/dark variants
		if( document != null && name == null )
			return;

		URL url = this.url;
		if( url == null ) {
			url = getIconURL( name, dark );
			if( url == null && dark )
				url = getIconURL( name, false );

			if( url == null ) {
				loadFailed = true;
				if( loggingEnabled )
					LoggingFacade.INSTANCE.logConfig( "FlatSVGIcon: resource '" + name + "' not found (if using Java modules, check whether icon package is opened in module-info.java)", null );
				return;
			}
		}

		document = loadSVG( url );
		loadFailed = (document == null);
	}
Sets a color filter that can freely modify colors of this icon during painting.
<p>
This method accepts a {@link ColorFilter}. Usually you would want to use a ColorFilter created using the
{@link ColorFilter#ColorFilter(Function)} constructor.
<p>
This can be used to brighten colors of the icon:
<pre>icon.setColorFilter( new FlatSVGIcon.ColorFilter( color -&gt; color.brighter() ) );</pre>
<p>
Using a filter, icons can also be turned monochrome (painted with a single color):
<pre>icon.setColorFilter( new FlatSVGIcon.ColorFilter( color -&gt; Color.RED ) );</pre>
<p>
Note: If a filter is already set, it will be replaced.

@param colorFilter The color filter
@since 1.2
flatlaf-extras/src/main/java/com/formdev/flatlaf/extras/FlatSVGIcon.java