public static void triggerEscape(Component c) {
		// text components will not perform built-in actions if they are not focused
		if (c instanceof JTextComponent) {
			triggerFocusGained(c);
		}
		triggerText(c, "\033");
	}
Simulates a user initiated keystroke using the keybinding of the given action

@param destination the component for the action being executed
@param action The action to simulate pressing
Ghidra/Framework/Docking/src/main/java/docking/test/AbstractDockingTest.java