#How to connect the first screen and the second screen by clicking the Button (Jouer)?(NetBeans JAVA)
1 messages · Page 1 of 1 (latest)
Here is my code :
I uploaded your attachments as Gist.
Here are the screen I want to connect.
First of, please format your code
Secondly, why do you have two Application classes ?
You should only have one
And find better names, "Controller" doesn't mean anything alone, same for "FXMLDocmument" and "PremierePageDuJeu"
And so, what's the problem ?
You have a method jouerBoutonAction, what doesn't work ?
@rocky umbra
I thought each screen is one application
I don't understand why when I click the « Jouer » Button it doesn't work.
Wdym
Any error ?
yea i sent here ?
Yes
I uploaded your attachments as Gist.
@rocky umbra the error is saying that it can't find the fxml, where did you put PremierePageDuJeu.fxml ?
Ahh i put in a different section now it work ty
How to close the channel ?
Try /close then let it autocomplete