This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Focus on load Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Focus on load" Watch "Focus on load" New topic
Author

Focus on load

nihar pattnaik
Greenhorn

Joined: Mar 08, 2002
Posts: 1
How I will set the focus on a JComboBox on the load time in a JPanel..?
Alex Ku
Ranch Hand

Joined: Jan 15, 2002
Posts: 47
hi,
call jComponent.requestFocus() will set the focus to this component.
kawaii
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Focus on load
 
Similar Threads
To bring the focus to a text box
Auto tab event
Is it possible to refocus on a field after reloading the page?
Do you know a good Connection pooling utility
How to focus a input field at form load in struts2