Reputation: 239
I am trying to develop a Java application that runs on Windows. For part of the application, I want to allow the user to enter a date into a text field in a form. My application will use that date to query a MSAccess database to retrieve information which will be placed in other elements of the form.
How should I retrieve the information from the database using a document listener?
[I have tried searching for advice, but have not found what I need.]
Upvotes: 0
Views: 626
Reputation: 2752
I wrote a decorator for a text field that display matching results as the user types. I think that is what you want if I am not mistaken. Here is the link https://github.com/Skylion007/java-manga-reader/blob/master/src/org/skylion/mangareader/util/AutoSuggestor.java
Upvotes: 1