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, 1 month ago
No longer possible to display URL in Window?
In Vaadin 6, one could display external content in a Window like this:
final Window win = new Window();
final ExternalResource url = new ExternalResource("http://www.google.com");
win.setContent(url);
win.open(url);
win.setWidth("50%");
win.setHeight("50%");
ui.addWindow(win);
win.center();
But in Vaadin 7, the open() method no longer exists. Is there another way of doing this now, or is this functionality lost?
All help much appreciated
Last updated on
Hi Thomas, I wasn't actually even aware Vaadin 6 had this functionality, but you should be able to do it in Vaadin 7 simply by setting a full-sized BrowserFrame component as the Window's content.
Last updated on
Hi Johannes,
Many thanks! Yes, the BrowserFrame did the trick.
Last updated on
You cannot reply to this thread.