Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

swing

 
Venkatachalam Palanisamy
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to set blinking cursor to JCombobox while
clicking the JButton?
what are methods available for this?
kindly help me
venkat.
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
You could try one of the following.
transferFocus
requestFocus
Both are methods in the Component class.
Regards,
Manfred.
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could also try posting in the Swing forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic