File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
Auto tab event
How to focus a input field at form load in struts2
Do you know a good Connection pooling utility
Is it possible to refocus on a field after reloading the page?
To bring the focus to a text box