Nice explanation of the three ways of switching content. I liked the way you explained... Going from switching stages to switching nodes gradually. Thank you for the well planned tutorials. In some applications, Pagination is very useful to go back and forth between many indexed nodes. However, the basic concept is very similar to what you have explained. The best thing about Pagination is that you can include transitions (like fading) while switching nodes.
@JavaCodeJunkie4 жыл бұрын
@Sourabh Bhat - Thank you for your kind words! Indeed, the pagination control could be used but I think that it is most useful when the number of nodes is unknown at the start. Transitions can be used on most nodes but I try to stick to a single concept when recording a video. Basics first and then later we add "bells and whistles"! We have to learn to walk before we can run, right? I plan to cover Transitions later in the series. Stay tuned! 😃
@SourabhBhat4 жыл бұрын
@@JavaCodeJunkie Good point! :)
@JavaCodeJunkie4 жыл бұрын
Switching Scenes is a useful concept that is often "Googled" and misunderstood by JavaFX beginners. I hope you find it helpful! Take care and keep on coding!
@clarencewhite50862 жыл бұрын
Thanks a lot, bro, was looking for something like this for a whole day!
@JavaCodeJunkie2 жыл бұрын
@Clarence White - Glad I could help! Cheers!
@alikhaled8448 ай бұрын
Incredibly helpful. Thank you !!
@iskandarabdullaev53992 жыл бұрын
Thank you so much, you saved my semester project!
@revisionnaire Жыл бұрын
Legend, thanks a bunch
@kavishkamadhudhan19433 жыл бұрын
Great Content. Thank you for the tutorial.
@JavaCodeJunkie3 жыл бұрын
Glad you enjoyed it!
@Kennerdoll2 жыл бұрын
Can you do a tutorial on switching scenes with 2 or more FXML controllers
@stefangabor5985 Жыл бұрын
Yes, I appreciate the effort you put into this; very nice explanation. However, it is not very useful if you have to create these objects beforehand. In real life scenarios, most of the time, you need to react to an event which will trigger, for instance, a change of scenery. By creating these objects beforehand, you end up dealing with data transfer between them, which is another headache. It's just too cumbersome to deal with it. I wished Oracle would do a better job with it.
@phucpham186323 жыл бұрын
How can i switch menu.fxml vs scene gui? i have a button on menu.fxml and i dont know how to code buttonAction :((( please
@JavaCodeJunkie3 жыл бұрын
@trọng phúc phạm - Up to this point, I have not focused on Scene Builder and FXML but I can refer you to the following link for a solution to your question. gist.github.com/pethaniakshay/302072fda98098a24ce382a361bdf477 Hope this helps! Cheers!
@phucpham186323 жыл бұрын
@@JavaCodeJunkie thanks alot, i was resolve my problems
@apparte4622 жыл бұрын
Stop going around and around describing minimum silly elements just stay on the point, this video is 4 minutes not 7 minutes.
@JavaCodeJunkie2 жыл бұрын
@App Arte - Thanks for your comment. I will certainly take it into consideration for future videos. Chers!