5

I want to know how to get an JComboBox to auto suggest the elements when we type in the combo box. For an example, If I had loaded a JComboBox with these names using MySQL, [Amila, Nimila, Nikila, Sunil] and when I type "N" inside the Combo Box, it'll drop down the list only showing Nimila & Nikila as suggestions. And I'm trying to do this on NetBeans. Thanks.

4

1 に答える 1