Saturday, 14 September 2013

How to reuse JavaFX GUI? Can I change controllers dynamically?

How to reuse JavaFX GUI? Can I change controllers dynamically?

I have designed a scene using JavaFX Scene Builder/FXML and I want to
create many instances of that scene, but each scene with different
behavior. Is there a way to change the controller of a scene/FXML
dynamically?
What I want is to design one scene and reuse it, but with different
behaviors for each instance.

No comments:

Post a Comment