This content has been marked as final. Show 4 replies
Instead of using many stages I would suggest using just one stage and many scenes.
Here are some examples:
Re: How to change multiple scenes?
Thank you very much. It really helped.
1 person found this helpful
Muralidhar wrote:I don't see this statement in Stage.close() JavaDoc. In JavaFX, there is no difference between hiding and closing top-level windows, in both cases all the native resources are released.
The doc says that
just hides the window but still exist in memory and does not release resources.
In java hide means different from dispose. In javafx the doc says close is similar to hide. So i thought the native resources will not be released. Any ways thanks for your explanation. It is really helpful.