Results 1 to 3 of 3
  1. #1
    Allgorythm is offline Member
    Join Date
    Dec 2009
    Posts
    20
    Rep Power
    0

    Default Search text field and combo box

    how can i make a search field (Jtextfield) with a popup button that will show me the lists of items that I need,

    im trying to set the JcomboBox setEditable(true) to make some editing..
    but when I check the methods, but Jcombo box can only return one of its listed items, how can i retrieve the data that I typed In? I hope you understand this problem.

    one example is in my IDE , im using netbeans 6.7, and there is a search field that has something like a combo box into it.. is there any way to do it? Im searching at google but im confuse on what keyword should I use to bring me in a almost exact resource, but still I cant find anything that can answer this one.

  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

    Default

    If I'm correct, you want to get the text which you entered in the box, not the one in the list. Is it?

  3. #3
    Allgorythm is offline Member
    Join Date
    Dec 2009
    Posts
    20
    Rep Power
    0

    Default

    If I'm correct, you want to get the text which you entered in the box, not the one in the list. Is it?
    yes I need the text that i entered in the box. but I also need one of the list as the category to be searched

Similar Threads

  1. Refreshing Text Field Value
    By nehakuls in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 11-13-2009, 12:05 PM
  2. get numeric value from a text field
    By Lehane_9 in forum New To Java
    Replies: 2
    Last Post: 06-14-2008, 04:19 AM
  3. Search field in the browser
    By sandeeprao.techno in forum Advanced Java
    Replies: 4
    Last Post: 06-07-2008, 08:37 AM
  4. Regarding Text Field
    By adeeb in forum AWT / Swing
    Replies: 1
    Last Post: 06-06-2008, 12:01 AM
  5. Show Text Fields on combo Box selected value
    By smajidali26 in forum AWT / Swing
    Replies: 0
    Last Post: 11-29-2007, 10:28 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
  •