i have a class that creats an autocomplete for jcombobox
and i want it to use in my jcombobox that i added in other JFrame using drag and drop,
these Jframe and the autocomplete/history class are on the same package.
here is the autocomplete class code:
and here is my drag and drop code with JCombobox:
how can i use the class to make the JCombobox autocomplete?
and how can i call the strings of my array?