Intelligent Text Boxes (like in

Posted on 2006-03-22
Last Modified: 2010-03-31
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   |


Question by:gordontm
    LVL 37

    Accepted Solution

    For a JComboBox you have this:
    LVL 8

    Expert Comment

    LVL 23

    Expert Comment

    Please check out this Link below i think it will be real helpful to you Bye.
    LVL 30

    Expert Comment

    LVL 2

    Author Comment

    Thank you all for your comments.
    LVL 37

    Expert Comment

    Thanx 4 axxepting

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
    INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
    Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
    This video teaches viewers about errors in exception handling.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now