• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Pradeep Kanwar
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I answered this in beginner.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!