how to reset the application from a subwindow's button

Where did you get the getApplication()? It doesn’t exist in Vaadin 7. It’s not in the book page either and…oh, it’s still mentioned in one section.

You probably want to use “Session.getCurrent().close();”.

There’s
some examples here
. If you don’t set the page location, closing the session will restart the application (the session and UIs) immediately.