Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FOCUS

Status
Not open for further replies.

KryptoS

Programmer
Joined
Feb 7, 2001
Messages
240
Location
BE
Hi, me again,

How can I set the focus on a textfield?

thanx

(swing or awt doesn't mather)
 
Try this:

textfield.requestFocus();
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top