Results 1 to 4 of 4
  1. #1
    vijay_s is offline Member
    Join Date
    May 2008
    Posts
    2
    Rep Power
    0

    Default Jtextbox with dropdown list

    Hi,

    Im new to swings.can anyone help me regarding this my question is, there must be text box which is combined to a drop down list which is dynamically updated while typing (to match all attributes according to search criteria).As many attributes will be returned when operator is typing the first character, the drop down list size should be limited in size (e.g. 8 lines at most) and a scrollbar will be associated to the list when needed. i think this wil be similar to search. pls reply me as soon as possible.

    Thanks in advance.

    regards,
    vijay.

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

  3. #3
    sukatoa's Avatar
    sukatoa is offline Senior Member
    Join Date
    Jan 2008
    Location
    Cebu City, Philippines
    Posts
    556
    Rep Power
    7

    Default

    try to have some experiment about regionMatches() method.

    Admin, you can now move this thread.
    freedom exists in the world of ideas

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. getting values from database in dropdown
    By aa74 in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 04-21-2008, 11:00 PM
  2. Servlet with a Form/Dropdown
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-16-2008, 11:24 AM
  3. Help with dropdown list
    By barney in forum AWT / Swing
    Replies: 1
    Last Post: 08-07-2007, 08:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •