To switch focus to a text field (or any component actually) just call the target components requestFocusInWindow() method.
NB. There is also a requestFocus() method but it’s behavior is platform dependent and thus it’s use is discouraged.
Leave a Reply
You must be logged in to post a comment.