The specific type of the underlying stage that you'll create.
Create the stage, or give it focus if it already exists.
Create the stage, or give it focus if it already exists.
This needs to be executed within the UI thread. If you're not already within some kind of event handler, you need to use scalafx.application.Platform.runLater.
Get the current stage (or None
if it doesn't exist).
A stage that should only be open at most once per application.
To use this, you should do something like this: