If you are experiencing an issue please mention the full platform your issue applies to:
IDE: NetBeans
Plugin 3.5.6
Couldn't figure how to login to whatever you are using for blogs these days so figured I would post here.
I cannot compile your sample code for using an AutoCompleteTextField as a ComboBox replacement
Enter code here...String[] characters = { "Tyrion Lannister", "Jaime Lannister", "Cersei Lannister", "Daenerys Targaryen",
"Jon Snow" /* cropped */
};
Form hi = new Form("Picker");
AutoCompleteTextField act = new AutoCompleteTextField(characters);
act.addActionListener(e -> ToastBar.showMessage("You picked " + act.getText(), FontImage.MATERIAL_INFO));
Button down = new Button();
FontImage.setMaterialIcon(down, FontImage.MATERIAL_KEYBOARD_ARROW_DOWN);
hi.add(
BorderLayout.center(act).
add(BorderLayout.EAST, down));
down.addActionListener(e -> act.showPopup());
hi.show();
I get an error on act.showPopup(). According to Netbeans there is no showPopup() method. I have the latest plugin and project libs are up to date.
Thanks