Hiding and showing a javafx stage without losing data
So I wasn't able to find a topic on this, but it is possible to somehow make a JavaFX stage invisible, but not close / hide the stage.
For instance:
stage.hide()
Will essentially close the stage, making it so that if you want to use:
stage.show()
You'd have to reconstruct the entire stage.
To rephrase:
"Is it possible to make a JavaFX stage invisible and then visible again without losing any data?"