setNextFocusableComponent has been deprecated as it overrides the default FocusTraversalPolicy so I would like to avoid using it. However it does get the job done.
The reason I am looking to change the tab order is because the two JTextFields are in a GridLayout but not immediately next to each other. I did some searching and have not found any results.
I do have a KeyListener on these fields and attempted to listen for VK_TAB to then manually set the focus when Tab is pressed, but for some reason the VK_TAB key is not registered as a KeyEvent.
Thanks in advance.