I have a swing application with multiple jtextfield on it. How do you replace the function of the enter key wherein when you press the Enter key, it will transfer to the nextfocusable component just like the tab key? I dont want to put a keylistener on each jtextfield.
Share
You’re looking for
Container.setFocusTraversalKeys:For more information, take a look at the Focus Subsystem tutorial.