Hi, i have the following lines, which successfully open a new Browser Window and shows the desired UI.
BrowserWindowOpener opener = new BrowserWindowOpener(PopupUI.class);
opener.setFeatures("height=768,width=1024,resizable=no");
Button button = new Button("Pop It Up");
opener.extend(button);
But still, the window can be resized. How can i prevent this?
Depending on browser settings that might not be possible at all. If you check https://developer.mozilla.org/en-US/docs/Web/API/Window/open#Position_and_size_features
It says “Starting with version 1.4, Mozilla-based browsers have a window resizing grippy at the right end of the status bar, this ensures that users can resize the browser window even if the web author requested this secondary window to be non-resizable.” and “Mozilla and Firefox users can force new windows to be easily resizable by setting dom.disable_window_open_feature.resizable to true in about:config or in their user.js file.”