public URL getURL(Icon icon) {
		if (icon instanceof UrlImageIcon urlIcon) {
			return urlIcon.getUrl();
		}
		if (icon instanceof GIcon gIcon) {
			return gIcon.getUrl();
		}
		return null;
	}
Gets the URL for the given icon
@param icon the icon to get a URL for
@return the URL for the given icon
Ghidra/Framework/Docking/src/main/java/docking/test/AbstractDockingTest.java