Results 1 to 3 of 3
  1. #1
    sandeep43 is offline Member
    Join Date
    May 2011
    Posts
    97
    Rep Power
    0

    Default combo box in netbeans?

    Hi,

    when we place a combo box, we know that we have to click it to see values and choose one of them, but i want in such a way that, in combo box field user will type and the combo box should dynamically populat data. i.e. there is no mouse click by user, he will just type only half the string what he has to search and the other half combo box has to show. how can we do this in netbeans?

    Regards
    Sandeep

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

    Default Re: combo box in netbeans?

    You are talking about kind of auto completion or auto fill on user event. On key press event you can query the item collection you have and add them into the combo box.

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

Similar Threads

  1. dynamically populate the city combo box based on the values of state combo +ajax+jsp
    By sandy1000 in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 12-29-2010, 10:00 AM
  2. Combo Box
    By efozdel in forum New To Java
    Replies: 1
    Last Post: 07-07-2010, 03:29 PM
  3. help get the value from the combo box
    By archcavalier in forum Enterprise JavaBeans (EJB)
    Replies: 7
    Last Post: 05-23-2010, 06:03 PM
  4. creation of one combo box form another combo box
    By er.tyagigaurav in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 12-09-2008, 03:14 PM

Posting Permissions

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