Getting a reference to the current KeyboardFocusManager
-
12-10-2019 - |
Question
Is there a way to get a reference to the current KeyboardFocusManager in a Swing application?
Solution
Have you checked KeyboardFocusManager.getCurrentKeyboardFocusManager()
Returns the current KeyboardFocusManager instance for the calling thread's context.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow