javafx-tableview

JavaFX, How do I trigger an event if someone check a CheckBox in Tableview

荒凉一梦 提交于 2019-12-11 04:23:00
问题 i hava a big problem in JavaFX. I created a TableView an i added some CheckBoxes to the TableView. I want to trigger an event if someone check the Checkbox in the TableView. I tried some different ways but I always have the same problem. I start the program and the "CheckBox trigger event" runs five times before showing the GUI. After that I can click on the Checkboxes but nothing happened. This is my code and I hope u can help me. Thx! Controller.class package GUI; import java.io.IOException