JavaFX - Communication Between Controllers

Опубликовано: 17 Июль 2026
на канале: Goran Vasić
65,510
349

Intermediate JavaFX tutorial on how to make several controllers communicate with one another.
Their communication is done through MainController which acts as a mediator. In other words:
Each individual controller only knows how to communicate with MainController.
MainController forwards incomming requests to a target controller.

Tools used in this tutorial:
JavaFX SceneBuilder 2.0
Eclipse IDE with e(fx)clipse tooling

Source code available on GitHub:
https://github.com/goranvasic/JavaFxT...