Reputation: 47
I am using
import org.jdesktop.swingx.autocomplete.Configurator;
Configurator.enableAutoCompletion(combo);
to make my combo box auto complete. But this is not working. My combo box name is combo. When i am importing NetBeans says that that import org.jdesktop.swingx.autocomplete.Configurator; does not exists. Can anyone suggest a simple way to auto complete the combo box. I cannot add more lines of codes because i have some restriction in terms of lines of codes for this project.
Upvotes: 1
Views: 1936
Reputation: 722
You have to download the .jar- File ( for example from here: http://repo1.maven.org/maven2/org/swinglabs/swingx/swingx-all/1.6.3/swingx-all-1.6.3.jar
You then go to File > Project Properties > Libraries > Compile-Time Libraries in your Netbeans Project and add the .jar you just downloaded.
Upvotes: 1