-2

I have an application where I implemented an onKeyPressed event listener for a text field.

In this listener I do a search for results like the input inmy database.

Is there a way that I can show an autocomplete list for the text box displaying the results of the database search?

Pow-Ian
  • 3,607
  • 1
  • 22
  • 31

1 Answers1

1

If you are using swing you can attempt to link the textbox with a list and then you can achive autocomplete functionality using the swing autocomplete package.

Also see this question. Or this one.

Community
  • 1
  • 1
Pow-Ian
  • 3,607
  • 1
  • 22
  • 31