gordontm
asked on
Intelligent Text Boxes (like in Answers.com)
Does anyone know of any publicly available Java code that will allow a User to type one or two letters into a text-box, and then see all items from a list that start with those letters appear in a "floating" box?
For instance if the list is as follows "cat, car, dog, ear"
and the user types 'C' in the text box then he will see the following:
_____________________
|C |
-------------------------- ---
|Cat |
|Car |
--------
For instance if the list is as follows "cat, car, dog, ear"
and the user types 'C' in the text box then he will see the following:
_____________________
|C |
--------------------------
|Cat |
|Car |
--------
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Please check out this Link below i think it will be real helpful to you Bye.
http://www.java2s.com/Code/Java/Swing-JFC/ComboBox.htm
http://www.java2s.com/Code/Java/Swing-JFC/ComboBox.htm
You mean an editable combo-box kind of thing?
http://java.sun.com/docs/books/tutorial/uiswing/components/combobox.html#editable
http://java.sun.com/docs/books/tutorial/uiswing/components/combobox.html#editable
ASKER
Thank you all for your comments.
Thanx 4 axxepting
this link could be help you