JavaFX - Switching Scenes Like A Boss! (Part 1)

Опубликовано: 08 Октябрь 2024
на канале: MVP Java
36,827
289

Covers how to switch between JavaFX Scenes on the same Stage.

The design incorporates the use of a Stage Manager which, with the help of the Spring Framework will allow you to dependency inject it anywhere into your code base and request a Scene swap.

The example demonstrated how to switch from the Login Scene to the Main application Scene however the architecture allows you to scale to as many Scenes as you want without having to copy paste your code everywhere like is shown in other tutorials.

Simply put, after this tutorial you'll be switching Scenes like a boss!

Code is available on GitHub:
https://github.com/mvpjava/JavaFX_Swi...

Ask me A Question ...
[email protected]

Subscribe to MVP Java ...
   / @mvpjava  

Follow me ...
Google+ : http://bit.ly/1Jsnnfj
Facebook:   / mvpjava  
Twitter :   / mvpjava