File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Focus on load

nihar pattnaik

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
call jComponent.requestFocus() will set the focus to this component.
I agree. Here's the link:
subject: Focus on load
jQuery in Action, 3rd edition