Is there a way to get a reference to the current KeyboardFocusManager in a Swing application?
Have you checked KeyboardFocusManager.getCurrentKeyboardFocusManager()
Returns the current KeyboardFocusManager instance for the calling thread's context.