I need when I type in JFormattedTextField
to appear text suggestions.
Is it possible to do this?
I need when I type in JFormattedTextField
to appear text suggestions.
Is it possible to do this?
Hello, use SwingX which has a class called AutoCompleteDecorator
JComboBox comboBox = [...];
AutoCompleteDecorator.decorate(comboBox);
List items = [...];
JTextField textField = [...];
AutoCompleteDecorator.decorate(textField, items);
JList list = [...];
JTextField textField = [...];
AutoCompleteDecorator.decorate(list, textField);