javafx 2 - How can I make error dialog always stay on top -


i developing javafx 2.2 application background threads may trigger error dialog show until close button pressed. if other background threads trigger message dialogs not urgent error, these dialogs must not placed on top of error dialog.

in other words, want error dialog blocks else, , never hidden other popups, or main window.

i have tried setting modality application_modal error dialog, , window_modal other, lesser dialogs, lesser dialogs still appear above error dialog if triggered while error dialog showing.

i not in position can use java 8, dialogsfx , controlfx , other libraries out of question.

in swing, used use layers log, popup_layer, alert_layer, error_layer, can't find similar in javafx.

regards, fredrik

if using additional stage show dialogs can use method

stage.showandwait(); 

which blocks event till close stage again. hope helps.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -