Link Java FX Scene Builder to Java code

preview_player
Показать описание
Once the UI is done and behaves as expected on window resize, it’s time to bind it to the Java application. For this, each UI control is identified by an id (fx:id), and the events or actions are bound to a method name. Once this is done, the generated controller skeleton can be used as a starting point to implement the Java controller, using the JavaFX APIs.

Рекомендации по теме