public static Icon scaleIconAsNeeded(Icon icon) {
		if (icon == null) {
			return null;
		}

		if (icon.getIconHeight() != DockingUtils.ICON_SIZE ||
			icon.getIconWidth() != DockingUtils.ICON_SIZE) {

			return ResourceManager.getScaledIcon(icon, ICON_SIZE, ICON_SIZE);
		}

		return icon;
	}
A version the control key modifiers that is based upon the pre-Java 9 {@link InputEvent}
usage.  This mask is here for those clients that cannot be upgraded, such as those with
dependencies on 3rd-party libraries that still use the old mask style.

@deprecated use instead {@link #CONTROL_KEY_MODIFIER_MASK}
Ghidra/Framework/Docking/src/main/java/docking/DockingUtils.java