Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Listner close and Behavior F5-button.

mallek ahmed
9 years ago Apr 17, 2012 11:13am

Hi,
I do a treatment before leaving the application, so I added the Listner

mainWindow.addListener(new Window.CloseListener() {
                @Override
                public void windowClose(CloseEvent e) {close();
                 }
});

How to avoid this behavior by pressing the F5?
thank you for your help,

Last updated on Apr, 17th 2012