Mos.K Mos.K - 2 months ago 45
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.*;




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;