JavaFX Choiceox change not updating graphics
问题 When I change the underlying observable array list the graphics choice box doesn't update. There must be a newer solution than what I have seen suggested here for example: JavaFX: Update of ListView if an element of ObservableList changes int selected = productsChoiceBox.getSelectionModel().getSelectedIndex(); Product prod = products.get(selected); prod.setName(productName.getText()); prod.setUrl(productUrl.getText()); Any thoughts? I would like to avoid removing and adding. 回答1: The