private static URL getUrlFromIcon(Icon icon) {
		if (icon instanceof GIcon gIcon) {
			URL url = gIcon.getUrl();
			if (url != null) {
				return url;
			}
			// this can happen for MultiIcons; leaving in for future debug
			// Msg.debug(Icons.class, "Unable to get URL for icon: " + icon, new Throwable());
		}
		return null;
	}
Gets the icon for the given icon path and scale it to the specified width and height.
The given path should be relative to the classpath.
If an icon by that name can't be found, the default "bomb" icon is returned instead.
<P>
For example, an icon named foo.png would typically be stored in the module at 
"{modulePath}/src/main/resources/image/foo.png".  To reference that icon, use the path
"images/foo.png", since "{modulePath}/src/main/resources" is in the classpath.

@param iconPath the icon path (relative to the classpath)
@param width the desired width after scaling
@param height the desired height after scaling
@return The icon referenced by that path.
Ghidra/Framework/Gui/src/main/java/resources/Icons.java