Answer the question
In order to leave comments, you need to log in
How to create a modal window in JavaFX, SceneBuilder?
Good afternoon.
I need help with the following question:
How do I create a modal window so that it appears before the main interface of the program loads, I could enter initial data in this window, and the main interface received this input.
Tell me what to read on this topic, or look, or Google is correct (I didn’t manage to google it myself, what garbage it displays in the search).
Thank you very much in advance!!!
Answer the question
In order to leave comments, you need to log in
You can peep in the sources of the "Ensemble" example from the Oracle website.
I haven’t looked at what’s in FX for a long time, but there were no modal windows before.
The options are:
1) Replace the stage in the scene.
2) Call the modal swing window, and then launch the FX window.
3) It is possible that modal windows appeared in FX.
4) Create an FX window, kill it and create another one. Here I think everything is clear.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question