private Color createContrastingColor(Color color) {
			// make sure that our defaults have been initialized
			if (defaultFGColor == null) {
				defaultFGColor = statusLabel.getForeground();
			}

			int red = color.getRed();
			int green = color.getGreen();
			int blue = color.getBlue();
			return ColorUtils.getColor((255 - red), (255 - green), (255 - blue));
		}
Overridden to update the tooltip text to display a small history of
status messages.

@return The new tooltip text.
@see javax.swing.JComponent#getToolTipText()
Ghidra/Framework/Docking/src/main/java/docking/StatusBar.java