how can we gray out background when we make setmodal(false) in window in gwt

852 Views Asked by At

In window I am using setmodal(true) so mouse events are not working. Hence, I changed to setmodal(false) but background is not gray out hence we can able to click the buttons below the dialog box. So kindly advise me how to gray out, after making setmodal(false) in GWT

1

There are 1 best solutions below

2
On

Use setGlassEnabled(true) to grey out along with the setmodal(false). Refer here for details.