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.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
new window() or reuse window?
What is the best practice, if I have a window that is popped up repeatedly?
What I actually have is an extension class of Window called LaidoutWindow, where the motivation for extending is to configure the size, contents and attributes of the window.
As I understand Vaadin 6, either works. But there is not much need to create a new window. You can switch the Layout instance displayed within a single Window. Switching Layouts updates instantly in my experience, even over the Internet. You can even switch out nested Layouts.
--Basil Bourque