what i want to make using swing is suppose i have a textfield and user always enters a ip address for eg :127.0.0.1 so each time user start entering the ip address like 127 my textfield should show a drop down list below the textfield which will show all the ip address starting with 127
what are the options to make such a thing ..i have initiated the process with JList but it didnt help
can any one help me ?
is there any class JSuggestionField which can help me make a autocomplete field
if not than what is the another way of doing this with the jtextfield i m sure you guyz out there have many alternatives
Michael Dunn
Ranch Hand
Joined: Jun 09, 2003
Posts: 4632
posted
0
> thanks but the code which they are showing is a bit difficult to understand
there are ready-to-go .jars out there, no need to understand how they work (although at times it is handy)
Rob Camick
Ranch Hand
Joined: Jun 13, 2009
Posts: 1786
2
posted
1
thanks but the code which they are showing is a bit difficult to understand
Do you think people write complex code for the fun of it?
do you have any code that is simple straight ?
What makes you think the code for this requirement is simple and straight?