Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Focus on load

 
nihar pattnaik
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How I will set the focus on a JComboBox on the load time in a JPanel..?
 
Alex Ku
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
call jComponent.requestFocus() will set the focus to this component.
kawaii
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic