This listens for arrow keys and shifts the keyboard focus accordingly. So if you press the left arrow key, the component to the left of the source component requests the focus.
This scans for the first available component whose isFocusable()
method returns true
. If no such component is found: nothing happens.