Learn How to Use JavaFX Multiple Controllers and FXML Files

preview_player
Показать описание
When creating bigger JavaFX projects we might want to set multiple Controller and FXML files to better structure our project. I showcase how we can have a controller and FXML file for each tab in a TabPane

My channel publishes programming and software engineering videos, especially Java and Python. If that is what you are looking for, do not hesitate to join me on this journey!

Subscribe to my YouTube channel:
Рекомендации по теме
Комментарии
Автор

thanks bro, I wasted my entire evening and finally found your video. It was nowhere mentioned that we have to refer to controller.java in fxml file. Finally you mentioned it.

GauravChanda-gfzk
Автор

Finally a video that does the job, that oracle tutorial nor stack overflow couldn't. Thanks!

Автор

This video helped out a ton. I am trying to implement the MVC architecture, but didn't quite understand how to have the parent M, V, C components while also supporting modularity and scalability to the application later on.

bfgklhx
Автор

Well I finally figured out my problem, but how come you don't have to add an "opens" directive for the new controller in the module-info.java file that you don't even seem to have?

odinsrensen
Автор

thanks a lot man I really appreciate that

abdelhakbekheitia
Автор

Hi mate can you help please, im stuck on table view, i couldnt make the table-cell height get resized to fit all text within !
I will be so grateful
thanks a lot

abdelhakbekheitia
Автор

Alright, this is very helpful.
I just need to find out how i can do this but instead of using tabs, im faking tabs with button (for beautiful vertical left navigation look)

shoyur
Автор

What is wrong with your voice? cant hear properly

smug
welcome to shbcf.ru