private String getIconSource(Icon icon) {
		if (icon instanceof GIcon gIcon) {
			URL url = gIcon.getUrl();
			if (url != null) {
				return url.toString();
			}
		}
		else if (icon instanceof UrlImageIcon urlIcon) {
			return urlIcon.getUrl().toString();
		}
		return "";
	}
A renderer for the {@link VTMatch} to show an icon for its applied status
Ghidra/Features/VersionTracking/src/main/java/ghidra/feature/vt/gui/provider/matchtable/MatchMarkupStatusRenderer.java