![I am trying switch the scen1 to scen2,but i am unable to switch i used onaction method on button still it's not switching to next scen2. : r/JavaFX I am trying switch the scen1 to scen2,but i am unable to switch i used onaction method on button still it's not switching to next scen2. : r/JavaFX](https://preview.redd.it/i-am-trying-switch-the-scen1-to-scen2-but-i-am-unable-to-v0-7d1p92dai2zb1.png?width=1920&format=png&auto=webp&s=9076b95a64649283f90c88797feea72870d09184)
I am trying switch the scen1 to scen2,but i am unable to switch i used onaction method on button still it's not switching to next scen2. : r/JavaFX
GitHub - mvpjava/javafx-switching-scenes-part2-tutorial: JavaFX - Switching Scenes like the Boss! (Part 2) Tutorial
![java - JavaFX Scene Builder: Creating a new scene or just making changes on a specific element? - Stack Overflow java - JavaFX Scene Builder: Creating a new scene or just making changes on a specific element? - Stack Overflow](https://i.stack.imgur.com/rxllt.png)