JavaFX actions on elements of one window from another window

Please help me solve the problem. There are two fxml files and their controllers:

sample.fxml, its controller ControllerMain (main window of the program)

find_win.fxml, its ControllerFind controller (modal window "text search")

In the modal window find_win.fxml there is a TextField into which the search text is entered, and the Find button, when clicked, ControllerFind must process the click and call the search method and highlight the search text in the TextArea element of the sample.fxml window.

and the inheritance of the ControllerMain by the ControllerFind...

Read More »

By: StackOverFlow - Friday, 9 November

Related Posts