• Post Reply Bookmark Topic Watch Topic
  • New Topic

JCombo box auto find  RSS feed

 
Alex Iordache
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to set up a combo box that searches its list for all possible matches that would complete
what a user has typed into its text field. The combo box should drop down with the first key typed and display a list of possible matches. The list should shorten as more characters are typed. Entries that are not in the list should not be allowed in the combo box text field. The entire list to be searched has 7000 entries in it.
 
Matt Robinson
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is an example of exactly what you are looking for in chapter 9 here: http://www.spindoczine.com/sbe
------------------
Matthew Robinson co-author of "Swing" (1999, Manning Publications). Freely available at http://www.spindoczine.com/sbe
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!