How to get the size of the remote browser with Vaadin 7

Dear Vaaders,

I would like to get the height and width of the remote browser (which can be resized by the user) with Vaadin 7.

The way to get the size of the screen is :
int remoteScreenSize = getPage().getWebBrowser().getScreenHeight();
But what for the browser ?

There is no answer.
Does it mean Vaadin 7.1 cannot provide the height and width of the browser ?

Eric

You seem to be new here. Don’t always expect answers in the first 24 hours. Page.getCurrent().getBrowserWindowHeight(); Page.getCurrent().getBrowserWindowWidth();
Page class

Many thanks Marius, your code works fine

Eric