|
-
Sep 24th, 2005, 03:08 AM
#1
Thread Starter
Member
Setting Focus on JTexField
Hi,
May i know how do i go about setting focus on a JTextField when my window is opened? As in, when I compiled and run the application, the focus is on the JTextField I specified.
Thank you.
______________________________________
Warmest Regards,
Lex
______________________________________
:|: Don't Mess With The Predator :|:
-
Sep 24th, 2005, 08:23 AM
#2
Frenzied Member
Re: Setting Focus on JTexField
Believe you can use setFocus();
-
Sep 24th, 2005, 08:29 AM
#3
-
Sep 24th, 2005, 09:39 AM
#4
Frenzied Member
Re: Setting Focus on JTexField
Yep, that's it requestFocus();
Sorry there lex.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|