Mos.K Mos.K - 1 year ago 154
Java Question

Autocomplete jcombobox javanetbeans

I am trying to implement autocomplete on my combobox but It says cannot find symbol. Are there any classes I need to import for this method to work? I have already imported javax.swing.*;



Answer Source

The AutoCompleteDecorator is not part of the standard Java SE distribution, it is part of the SwingX project.

If SwingX is already in your classpath, you can just import the AutoCompleteDecorator with

import org.jdesktop.swingx.autocomplete.AutoCompleteDecorator;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download