4 years later and still relevant! Helped me fix a project
@imenjaouadi27 жыл бұрын
you sir saved 60 percent of one of my courses. I finally , successfully integrated my project thanks to you. THANK YOU!
@helderferreira84988 жыл бұрын
Thanks for your help. A little tip. Do not wander far and prepare the speech
@SwissExperiments9 жыл бұрын
the sound is so out of sync! why would you do this?
@francisesete3179 жыл бұрын
Great! It had taken me forever to switch from the login screen. Thanks.
@donykisworo67098 жыл бұрын
thank's for your tutorial. I want to know that how enable or disable button from another windows form?
@BlackAceCard5 жыл бұрын
This tutorial was a LIFESAVER!!!
@kamilaamarova47029 жыл бұрын
Thank u so much!!!! I like this tutorial , because i did it))) and tommorow I should pass my assignment)
@hendrixschmidt8 жыл бұрын
because with different packages like the MVC does not work call Stage?
@true_podejrzany10 жыл бұрын
Great video! However I got one problem. Loading a file works good for me when fxml file has AnchorPane at top of hierarchy. When its a StackPane for example. then i get java.lang.reflect.InvocationTargetException.... help!
@philipjohnson409410 жыл бұрын
I can't say for sure, but it is likely that the code is LOOKING for an AnchorPane. See if there is an explicit reference to AnchorPane or a cast to AnchorPane in the code associated with the FXML. Change that to, of course, Stackpane, or to something more generic, and it should work.
@xronizzz9 жыл бұрын
Philip Johnson I did that and nothing changed, any other ideas?
@Miketar24249 жыл бұрын
Thanks for this. Stack exchange has little info on simple pressing a button to change scenes and there is another video while well -meaning has 5 pages of code to do this. These 5 lines of code are fine for a simple task.
@Visionist8 жыл бұрын
So the scenes are just overlapping each other (aka both working at all time, regardless which scene is prompted)?
@verrymariyanto83776 жыл бұрын
You doesn't set the button..but when the login button you Pressed it can response..how you can do that?..
@nowthisisfuuun8 жыл бұрын
Really hard to follow because video and audio are out of sync
@danielfarrugia18667 жыл бұрын
Is it possible to change scenes not from a button click ? I need to create a login screen which after the user clicks Login button sends the user data to the server (using websockets) and the server sends a response if the login is successful or not. After this response I need to change the scene if login is successful or add text the the error label.
@pureice4846 жыл бұрын
must a button be use? can we click a label to change instead?
@vincenzomangini31388 жыл бұрын
If i want a 3rd page that will open when an event occur on the second page is it similar coding required ?
@ChiaraFornataro2 жыл бұрын
you are a life saver
@accelerrate49015 жыл бұрын
For some reason it was giving me and error saying that I couldn’t caste to Node
@sr.anderson47884 жыл бұрын
Gracias maestro :) saludos de México.
@francescopatriziozampetti92988 жыл бұрын
Hi thank you very much for the useful tutorial! I have ony one question: if want to change scene without using a button for example by entering a keyword using a textfield how can it be done?
@kosmynunlimited8 жыл бұрын
make a text field with a listener on it. action event on whats typed in there...make an algorithm that when will detect the specified char,will execute the switch of scene.
@marielabonilla66775 жыл бұрын
i loved this video, you helped me so much. THANK YOU!!
@juansebastianpelaezvilla78217 жыл бұрын
Perfecto, justo lo que estaba buscando, te agradezco demasiado.
@duftcola6 жыл бұрын
It give errors if I have to use more than 2 scenes.....
@godwingad33527 жыл бұрын
This Video Saved My Life
@diegopereira56527 жыл бұрын
Thank you very much for the help my companion! Hugs
@TimleyDegreeIII8 жыл бұрын
This video saved my life...
@Amanraj-cv8rz6 жыл бұрын
How to Change the scene in the same window
@joaovitor12full8 жыл бұрын
I've made it on eclipse, great tutorial!
@muhammadraihansuryanom2345 жыл бұрын
are you heath ledger brothers ?
@MiguelVillaAVilla10 жыл бұрын
Hi hello can you explain me how to make a sign off, because i tried but i can't return to the log in scene, thank you
@vergilkilla110 жыл бұрын
Hello Miguel, A cheap and easy solution would be to put a new button on the Home Page. then rig the scene changing code that change from login->homepage, just put in the login screen info. Code would be along the lines of: Parent login_page_parent = FXMLLoader.load(getClass().getResource("FXMLDocument.fxml")); Scene login_page_scene = new Scene(login_page_parent); Stage app_stage = (Stage) ((Node)event.getSource()).getScene().getWindow(); Same as our code to change from Login to Homepage, just vice versa.
@jfprograma40049 жыл бұрын
+vergilkilla1 I did that and this was the result Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1774) at javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(FXMLLoader.java:1657), can you help me please.
@Kejzeren9 жыл бұрын
+jeferson correa pino Hi, I had same problem. It is because you have defined something in the: "public void initialize(URL url, ResourceBundle rb)" function that is not compatible with the other window. Try to delete everything in that function and it might work. (It worked for me)
@jfprograma40049 жыл бұрын
Ok
@purshotamrajthala38834 жыл бұрын
Not working
@khoulouddaghsni12317 жыл бұрын
i have exception errors :( can you help me ?
@VictorAlexandre-yf8rm6 жыл бұрын
Man, you surely helped me a lot, many thanks!!!
@air_id_as4 жыл бұрын
Thank you. Worked
@meowmal5062 жыл бұрын
did not work.
@thatguyscottcom9 жыл бұрын
Where's the sound??? I have to turn up to max just to hear you. Hope a commercial doesn't pop up cause it'll blow my speakers!
@sarahomegayuliesimorangkir51563 жыл бұрын
Thanks a lot!
@MrPiikkipallo7 жыл бұрын
I thank you sir! Great tutorial :)
@zed60745 жыл бұрын
very helpful thank you
@TheMofuckingCarter7 жыл бұрын
Nice Video. Runescape user name?
@DimYurych7 жыл бұрын
thx u man. really u help so much!!!!
@supunsandeeptha22495 жыл бұрын
Thanks, Much helpful
@siergos18 жыл бұрын
which league are you in at league of legends :D
@philipjohnson40948 жыл бұрын
Hahhh I don't play anymore. Even at the time of this video I did not play anymore. However, back when I did play, farthest I got was Silver. Not especially good at all lol.
@زهراءاكرم-ع9ك5 жыл бұрын
i want the code plezzzz
@efrmarkus55537 жыл бұрын
You hepl me to do my project. Thanks)
@KaaBockMehr8 жыл бұрын
you should have fixed your sound issue. but it was helpful anyways- thumbs up
@texteacher77067 жыл бұрын
Your voice volume is so inconsistent it's to hard to understand you
@brynclegg72358 жыл бұрын
Cheers, there are too many videos that over-complicate this!
@siham38018 жыл бұрын
Cool thank you!
@Etern1tytv4 жыл бұрын
thank you
@yerkeboolean7 жыл бұрын
Very nice
@pertu_co6 жыл бұрын
Thank you!
@abhinandrk58499 жыл бұрын
ummma thanks really awesome!!!
@1burakdgn5 жыл бұрын
Thanks.
@marcio3560junior6 жыл бұрын
Thanks a lot
@nife69024 жыл бұрын
I love u
@workhar10 жыл бұрын
thanks
@PSYKIKVIRUS9 жыл бұрын
I see you are a LOL player..see you on the fields of justice.