show Dialog
Shows a dialog and blocks further thread execution.
Return
Chosen button or Optional.empty if canceled.
Parameters
dialog
The Dialog to show.
Shows a dialog and blocks further thread execution.
Chosen button or Optional.empty if canceled.
The Dialog to show.