protected Image updateImage(Graphics2D g2d, double scale) {

			baseTextImage = null;

			createImage();

			if (baseTextImage == null) {
				return null; // this implies an exception happened
			}

			int w = baseTextImage.getWidth(null);
			int h = baseTextImage.getHeight(null);

			int sw = ((int) (w * scale));
			int sh = ((int) (h * scale));

			int iw = baseTextImage.getWidth(null);
			int ih = baseTextImage.getHeight(null);

			if (iw == sw && ih == sh) {
				return baseTextImage; // nothing to change
			}

			return ImageUtils.createScaledImage(baseTextImage, sw, sh, 0);
		}
Hides any message being displayed.  This can be called even if the message has been hidden.
Ghidra/Framework/Docking/src/main/java/docking/util/GGlassPaneMessage.java