This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Java in General and the fly likes Plz help! Not able to get focus on text field!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Plz help! Not able to get focus on text field!!" Watch "Plz help! Not able to get focus on text field!!" New topic
Author

Plz help! Not able to get focus on text field!!

Pradeep Kanwar
Ranch Hand

Joined: Jun 11, 2001
Posts: 38
hi,
i have 2 text field in a panel in a frame.
i want the focus (i should be able to type) to be on second (added later) textfield.
how can i do this? i have used requestFocus() method on textField, but it doesnt work.
plz help
thanks in advance.
pradi
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
I answered this in beginner.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Plz help! Not able to get focus on text field!!
 
It's not a secret anymore!