JavaFX Java GUI Tutorial [5] - The Controller Class - ENGLISH

preview_player
Показать описание
Learn to create the controller class in java fx

☆ Please subscribe to my Channel & Like this Video
Рекомендации по теме
Комментарии
Автор

You +Jonas Schindler are an absolute legend. You are prime representation of German Engineering. I tried and failed so many times. But I have succeeded and prospered so well under your tutorials of MVC Architecture. Thank you, thank you, thank you so much for these uploads.

jaybartgis
Автор

it's very useful.. Pleas continue

ashraftaha
Автор

For anyone on windows trying this, on the first line in the mainWindow try-catch, you do need a "/" in front of the view file name. So it should look like, new

flowz
Автор

Hey Master. Could You tell me how to correctly connect controller to main class without fxml file. I'm just gonna build simple Pane with buttons and textfields in clean java (main class) without using fxml file. After that I would like to use EventHandler and react for events (for example: clicking button) in controller. So, my question is how to build Pane with buttons, textfields and labels in main class (without FXML) and use EventHandler in controller? How to do that. Any ideas. Can you send me some exemplary code. I'll give you my email address. Best regards.

oskarlange
welcome to shbcf.ru