how get real-time output
It is me again. I am working on a very complicated project. Becouse of that I asked so many questions so for. Please forgive me. Now my question is how to get real-time output. For example user will search someone's name (mike i.e). When user enter 'M', program will show all the name which begin with 'M' then user will enter 'i' output will change and show all the name which begin with 'mi ' and so on. Thanks in advance.
Salih Ozan IRBIK.
you want an auto updating text field? I'm assuming this is a GUI program with a Text(JText) field?
There's a java website with a ton of examples(I can't remember the name sorry). The site layout has a bunch of topics on the left, usually some ad that takes up half the page top/center, a screenshot of what the code does, then the code. Below the code it has a list of "related" code.
If I stumble across the site I'll update you with the link. Perhaps someone else knows what I'm talking about?
yup that's the site I used. It takes some digging but I know I found an example of this written using SWT which should be similar enough to Swing for you to get you going.
I am still looking for with your keyword but no progress yet.Could you post any ohter keyword to search please:)
(yes, you are right. It is a GUI program)
Swing Auto Complete ComboBox : ComboBox*«*Swing Components*«*Java
Try that. That's an auto-complete combo box which isn't exactly what you need but it should lead you to what you do need.