showSingle

fun JFXDialog.showSingle(container: StackPane = dialogContainer)

Track a previously shown dialog within a container to close it before showing a new dialog.

Parameters

container

parent layout, or the dialog's default container.