private static UrlImageIcon doLoadIcon(String path) {

		// if the has the "external prefix", it is an icon in the user's application directory
		if (path.startsWith(EXTERNAL_ICON_PREFIX)) {
			String relativePath = path.substring(EXTERNAL_ICON_PREFIX.length());
			File dir = Application.getUserSettingsDirectory();
			File iconFile = new File(dir, relativePath);
			if (iconFile.exists()) {
				try {
					return new UrlImageIcon(path, iconFile.toURI().toURL());
				}
				catch (MalformedURLException e) {
					// handled below
				}
			}
			return null;
		}

		// if only the name of an icon is given, but not a path, check to see if it is 
		// a resource that lives under our "images/" folder
		if (!path.contains("/")) {
			URL url = getResource("images/" + path);
			if (url != null) {
				return new UrlImageIcon(path, url);
			}
		}

		// look for it directly with the given path
		URL url = getResource(path);
		if (url != null) {
			return new UrlImageIcon(path, url);
		}

		// try using the filename as a file path
		File imageFile = new File(path);
		if (imageFile.exists()) {
			try {
				return new UrlImageIcon(path, imageFile.toURI().toURL());
			}
			catch (MalformedURLException e) {
				// handled below
			}
		}

		return null;
	}
Returns a list of all loaded icons.
@return a list of all loaded icons
Ghidra/Framework/Gui/src/main/java/resources/ResourceManager.java