Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JComboBox - Selecting an item  RSS feed

 
Ronnie Coh
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Visual Basic's comboboxes allows the user to enter partcial information and it will find the first match. For example "Ron" will retun the "Ronnie" item. Is there away of doing this in Java?

Java seems to work only with the current letter. In my previous example it would give me the first R entry, then the first "O" and than the "N". Thanks...
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This seems to work OK, but I don't know if it's a good, bad or indifferent way to do it.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!