wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Autocompletion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Autocompletion" Watch "Autocompletion" New topic
Author

Autocompletion

Rus Corina
Ranch Hand

Joined: Jul 08, 2011
Posts: 90
Hi. I am currently trying to do a small program where i have some JTextFields, and i want to somehow have an autocompletion feature (the data that i need must be taken from an sql express 2008 server). Does anyone have any idea if such a feature exists in Java? Or any suggestions on how i might do this (it involves thousands of data to search from, so it needs to be efficient).
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9990
    
    7

A quick search gave me these two topics
http://www.coderanch.com/t/486422/GUI/java/Auto-Complete-JTextField
http://www.coderanch.com/t/344365/GUI/java/JTextField-automatic-completion

This question would sit better on our UI forums. Moving.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Autocompletion
 
Similar Threads
Method Args Completion on Custom Class
Indexing strings for fast lookups
Managing multi-module maven project inside Eclipse
AutoCompletion in JTextField
Compilation unit is not on the build path of a java project (Eclipse/Maven2)