Submitting form data to a new screen using javafx
I'm currently working on a desktop app using javafx. IN the introductory
screen, I have a form where the user would fill in various information,
and then submit the form contents to a new screen, discarding the old
screen as the user would not be heading back there in the application
logic flow. However I'm at a loss as to how this would be done. I was
thinking it would be like Android where I could call a get new screen
function, calling the class for the new screen's constructor and it'd pass
over to there, but when trying that, it just created a new window, which
obviously isn't what I'm after. Was wondering if anyone knew of a better
way that I could move the application to a new screen, and still easily
pass the form information over to that screen for further processing.
No comments:
Post a Comment