Have you tried FocusManager.focusNextComponent() or 
DefaultFocusManager.getComponentAfter()?

At 01:51 AM 2/27/2002, John A. Preston wrote:
>Hi, I'm having a problem passing the focus from one JTextField to another 
>when the user presses the ENTER key. Only when they press the TAB key does 
>the focus pass on to the next JTextField. I have a keyListener and know 
>when the user presses the ENTER key but I donb't know how to pass the 
>focus to the next JTextField.

_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to