JavaFX Intermittent Execution Issue
I am experiencing an intermittent issue in my JavaFX application where the casesTableView.getItems().clear()
method behaves inconsistently. Initially, it executes correctly, but on subsequent invocations, it sometimes runs twice or gets skipped entirely during the method execution.
The issue becomes apparent when loadCasesToTableView is called multiple times during the program’s runtime.
In my case: