• Post Reply Bookmark Topic Watch Topic
  • New Topic

AutoCompletion in JTextField

 
pramod karnani
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Did any body implemented autocompletion in JTextField (GUI)?

autocompletion means if user type B then he will see the contents starts from B in Jtextfield .

how to do that in swing ?



thanks
pramod
 
satishkumar janakiraman
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Check the following URL How to implement Autocomplete feature in JCombobox

sat
 
pramod karnani
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Sathish.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!