I have a gui(GUI1) that creates a new object of another gui(GUI2), GUI2 is responsible for reading files and filter data and then i need those data to be sent back to GUI1.
Which way is the best? Do I have to create an object on top of the 2 ? Is there some sort of listener that can be triggered by GUI2 to force GUI1 get the data from GUI2, since it has its reference? Any other way ?