How to remove the showNotification dialog from the winodw ?

Hi all,

In my vaadin application , i am showing the dialog continuously ,then the dialog is added over and over on the screen . How to remove the dialog from window before i call,

getwindow().showNotification( " ");

Please give some solution.

Thank you by



Notifications can’t be closed programmatically from the server side, only the end user can close them/make them dissappear. An alternative would be to use an actual sub-window (with possible alternative theming), which you can close programmatically.


Hi sir ,

       Thank you for your quick response.How to override the default window style?.
      I tried like this.But it only changes the contents to green color.

background-color: green;

Please give some solution.

Thank you.