I'm working on polishing up an assignment. I am working with JavaFX and have 3 sequential scenes. The data from the first and second scenes is used in the third scene and consists of various types of inputs, all converted to String data to populate this third scene. Problem is, the only way I've been able to get it to work is to make an event handler, in this case a button. The appropriate data loads right up and everything is technically accurate, but I think having a button to press to load up the output data right after having pressed the button on the previous page to submit the data is kind of clunky.
Is there any way to make the elements I have set up to display the data automatically load the data in a non-clunky way? I thought about adding a mouse event to just watch for mouse movement, but that would potentially be kind of wonky if someone who doesn't fidget with their mouse were to run the program.
The only solution I've made actually work so far is to create a button and make the event for clicking the button load populate the data.
Thanks in advance!