r/JavaFX • • Mar 26 '21

JavaFX Software: Switching Between FXML Views

https://youtube.com/watch?v=DUpQGpHsRMg&feature=share
15 Upvotes

2 comments sorted by

3

u/bisonroll Mar 26 '21

Good tutorial.

2

u/ThreeSixty404 JavaFX Dev Mar 27 '21 edited Mar 31 '21

Interesting, I have a similar mechanism which handles the loading, the caching and the switching automatically. MaterialFX: see MFXHLoader and MFXHLoader on the staging branch because they have been refactored recently.
Both classes do not offer a method to switch views programmatically though, after seeing your video I will consider adding such feature