xmf-xmodeler / MosaicFX

XModeler GUI on JavaFX
http://wi-inf.uni-duisburg-essen.de/LE4MM/
7 stars 2 forks source link

Control Center pops off #350

Closed TobSchwa94 closed 2 years ago

TobSchwa94 commented 2 years ago

At multiple actions the control center pops off, even if the user dont want this to happen.

TobSchwa94 commented 2 years ago

The Problem was, that for all actions in which the control center pops off a custom dialog was used. This dialog inits the control center stage as owner. That lead to the fact, that the control cetner was brought to front if you call these actions. In the new implementation the custom dialog is set with the modality Application_Modal. See https://docs.oracle.com/javase/8/javafx/api/javafx/stage/Modality.html