public static Animator focusComponent(Component component) {
		if (!animationEnabled) {
			return null;
		}

		GGlassPane glassPane = getGlassPane(component);
		if (glassPane == null) {
			// could happen if the given component has not yet been realized
			return null;
		}

		FocusDriver driver = new FocusDriver(glassPane, component);
		return driver.animator;
	}
Focuses the current component by graying out all other components but the given one and
bringing that component to the middle of the screen.

@param component The component to focus
@return the new animator
Ghidra/Framework/Docking/src/main/java/docking/util/AnimationUtils.java