Binding to a POJO
From Planet JFX
[edit] Introduction
At this time, JavaFX variables bound to a pure-Java object (POJO) will not automatically update as they should. This article describes one or more ways to get two-way binding working.
[edit] Problem Statement
I want to get a JFX button to change state given a property change in Java code. I can pass the new state into the script but the binding does not work.
