|
Java™ by example!
|
|
|
How do I set the focus to a JTextField?
i believe that the method called is requestFocus() try this
 JTextField f = new JTextField(); f.requestFocus();
|
Good Luck
Further Information
Author of answer: Val
Comments
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|