• Post Reply Bookmark Topic Watch Topic
  • New Topic

select the text in an editable jcombobox

 
Vaibhav Pingle
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi friends,
i would like to know, how to select the text in the editable jcombobox when it receives focus.

i tried the following to do this in its focusGained listener method

........
jcb.getEditor().selectAll();
........

this is not working....

please help
thank you
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!