JavaFX communication between controllers

JavaFX communication between controllers

Bro Code

3 года назад

90,352 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Mars
Mars - 12.10.2023 20:12

Thank you, bro!

Ответить
Vincent Parkes
Vincent Parkes - 03.10.2023 18:20

Nice🙂

Ответить
الاء الاحمدي
الاء الاحمدي - 18.09.2023 22:09

How can I use Javafx to drawing line by using dda algorithm.¿

Ответить
gerdsfargen
gerdsfargen - 10.09.2023 14:45

You saved my coding skin! Thank you so much, man!

Ответить
Java Moth
Java Moth - 04.09.2023 14:00

Omg finally was able to shut down that executor from the controller file on app exit

Ответить
Chris Harris
Chris Harris - 21.07.2023 09:48

Really easy to follow and informative videos about JavaFX. Thanks for making these videos

Ответить
Ahmed Mouad
Ahmed Mouad - 19.05.2023 09:13

i dont really know why everyone uses fxml instead of Java it self to build things this is not the only course that does this and i wanna learn java not xml ..:(

Ответить
Tomáš Janoušek
Tomáš Janoušek - 12.05.2023 18:35

Thanks.

Ответить
Mrs. Ahmed
Mrs. Ahmed - 26.03.2023 13:04

nice show()

Ответить
Team Wang
Team Wang - 16.02.2023 20:23

I have a question
lets say i wanna let the user put his first name and his last name

so I change the scene2Controller to:

public void displayerName (String username, String theLastName){

nameLabel.setText("hello:"+username +" "+ theLastName);
}


and the scene1Contoller to a:
theHelloSceneController.displayerName(username , theLastName);

with of course adding

String theLastName = userlastName.getText();

put it doesn't log in and move to the Scene2


what should i do
please help

Ответить
Hamza Chiguer
Hamza Chiguer - 26.01.2023 23:35

thank you bro

Ответить
CSubh
CSubh - 15.12.2022 13:17

for some reason it shows Node cannot be resolved to a type in the main controller class

Ответить
Umar Qazi
Umar Qazi - 07.12.2022 19:49

Best one out there!

Ответить
Lykkos
Lykkos - 30.11.2022 03:52

Hey super bro, you as always solving problems, thanks a loooot!!!!!!!!!!!!!!!!

Ответить
Naga Venkatesh Gavini
Naga Venkatesh Gavini - 23.11.2022 04:44

good :)

Ответить
Stephen Kyanda
Stephen Kyanda - 30.10.2022 16:39

easy and simple to follow, even one can unders
tand step without voice noted embeded

Ответить
SoCal Justice Warrior
SoCal Justice Warrior - 28.10.2022 04:50

I hate JavaFX. I would much rather work with Swing. It's baffling that I have to create a class, create an XML file(excuse me, an "FXML" file) for the class to load, then specify in the FXML file that I want to have these methods and objects. It's super redundant, but it's easier to update and modify than the Swing GUIs, so I guess employers like it for that reason.

Ответить
Le Quang Nghi
Le Quang Nghi - 25.10.2022 10:52

I don't know why I run into a NullPointerException at this line of code:
scene2Controller.displayName(userName);

Edit: Never mind! I just forgot to add Controller class

Ответить
Desiree Wilson
Desiree Wilson - 29.05.2022 23:07

Thanks!!!!!!!!!😁

Ответить
Katt
Katt - 23.05.2022 21:42

hey please! how can I just get the data in the same way but to more than just one controller???
like i wanna get that same data from scene 1 to scene 2 , scene 3, and scene 4 ???
please help !!

Ответить