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.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 5 days ago
Vaadin 6 to 7 migration getWindow()
getWindow().getParent().removeWindow(getWindow());
what is the eqquivalent code we need to use for vaadin 7 . ?
Window component is removed . i am trying for vaadin 6 to 7 migration .
Last updated on
I hope you're trying to remove a sub-window, not an application window, as was possible in Vaadin 6.
To remove a sub-window, I think it should work with getUI().removeWindow(getWindow()). Or, UI.getCurrent().removeWindow(getWindow()). Well, using getWindow() assumes that you're working in a location where you can use that.
Last updated on
You cannot reply to this thread.