I am developing a javafx application, in which I run into the following problem:
I am trying to fill out a form in which one of the fields I want to fill in bringing the data from another window, in this second window I only show a tableview. what I want to do is that when I select a record in the tableview it closes and I fill the field in the first window