Your tutorials are the best so far! Thank you very much! I personally don't like the copy paste here tho and prefer to have a method for that instead. Also the stage being bound to an item, in this case thebutton, feels weid. Is there a way to get around it?
How did you create that new controller? I'm guessing you used hot keys to do something. Did you copy the controller and paste a new one into the sample folder?
I just copied the first controller and gave it a new name. The most important thing to remember is to make sure the new FXML file is connected to the new controller. The Controller is just a normal class that can be crated like any other controller.
JavaFX is not a part of basic java and therefore needs to be bundled into he Jar somehow, which might be the reason you are having problems. I would suggest looking into something like Maven to help build your jars.
Your tutorials are the best so far! Thank you very much! I personally don't like the copy paste here tho and prefer to have a method for that instead. Also the stage being bound to an item, in this case thebutton, feels weid. Is there a way to get around it?
hi can u make the stage changes with stage access implementations from controllers?
Bro this Code is wow nice one simple am Deus from Uganda thanks for these series
Glad you liked the code!
How did you create that new controller? I'm guessing you used hot keys to do something. Did you copy the controller and paste a new one into the sample folder?
I just copied the first controller and gave it a new name. The most important thing to remember is to make sure the new FXML file is connected to the new controller. The Controller is just a normal class that can be crated like any other controller.
why u didn't use show() in controller
in idea, everything works fine for me, but the packed jar file does not start and gives a lot of errors. what can affect this?
JavaFX is not a part of basic java and therefore needs to be bundled into he Jar somehow, which might be the reason you are having problems. I would suggest looking into something like Maven to help build your jars.