protected ImageIcon createImageIcon() {

		if (baseIcon instanceof ImageIcon) {
			return (ImageIcon) baseIcon;
		}

		Image iconImage = createIconBaseImage();
		if (iconImage == null) {
			return getDefaultIcon();
		}

		String name = getImageName();
		if (!ImageUtils.waitForImage(name, iconImage)) {
			return getDefaultIcon(); // rather than returning null we will give a reasonable default
		}
		return new ImageIcon(iconImage, name);
	}
Get the base icon image to be transformed in ImageIcon
@return the base icon image to be transformed in ImageIcon
Ghidra/Framework/Gui/src/main/java/resources/icons/ImageIconWrapper.java