How to get width and height of browser window in vaadin 7?

How to get width and height of browser window in vaadin 7? Please help.

Page.getCurrent().getBrowserWindowHeight();
Page.getCurrent().getBrowserWindowWidth();

Thank you very much! Maybe you know how to change width of splitpanel?
I’m trying to change :
//css

.splitpanel .v-splitpanel-vsplitter-locked, .v-splitpanel-vsplitter{
        width: 0px;
                border: 0px;
        background: transparent;
    }

//JAVA

split.setStyleName("splitpanel");

but nothing happen. Please help.

Based on your css, I assume that you have a vertical split panel, and you want to hide the splitter which is locked.
You can try

.v-app .v-splitpanel-vsplitter-locked div{
	display:none;
}
.v-app .v-splitpanel-vsplitter-locked{
	background-image:none;
	background-color:transparent;
	border:0px;
}

And you can find more info in
this post
.

thanx!