Is it possible maximize the window without JSNI
I'm using this function to maximize the window:
/**
* Resize the principal window
*/
public static native void resizeWindow() /*-{
top.window.moveTo(0,0);
top.window.resizeTo(screen.availWidth,s开发者_如何学Pythoncreen.availHeight);
}-*/;
is it possible to maximize the browser window without JSNI ?
Check out the built in Window.moveTo(), and Window.resizeTo()
精彩评论