Answer the question
In order to leave comments, you need to log in
How to access components of another window?
There are two windows and, accordingly, two controllers, how can the second controller access the element of the first window ???
Answer the question
In order to leave comments, you need to log in
FooController foo = (FooController) fxmlLoader.getController();
foo.setSomeData();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question