using modality in a popup window javafx


Question

I kept a popup dialog on a pane and it came at the top of the other components. Now I want to disable accessing all the other components of the program. How to do it?

1
2
1/7/2014 11:49:19 AM

The popup API does not have an initModality(Modality.APPLICATION_MODAL); method which is exactly what you want. In this case, you can make your popup window a stage and use the method mentioned above.

2
1/7/2014 1:21:00 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon