@Override
		public void actionPerformed(ActionContext context) {

			Tool tool = getTool();
			DockingWindowManager myDwm = tool.getWindowManager();
			boolean isFrustrated = isFrustrated();
			boolean isFocused = isFocused();
			if (isFocused && !isFrustrated) {
				// the user has decided to hide this component and is not madly clicking; also, we
				// don't allow the last component in a window to be closed in order to prevent an
				// empty window.
				if (!myDwm.isLastComponentInWindow(ComponentProvider.this)) {
					setVisible(false);
				}
				return;
			}

			boolean emphasize = getComponent().isShowing() && isFrustrated;
			myDwm.showComponent(ComponentProvider.this, true, emphasize);
		}
Number of milliseconds to track user requests
Ghidra/Framework/Docking/src/main/java/docking/ComponentProvider.java