Create maximizable, resizable ExtGWT Window

@Override
public void onModuleLoad() {
 
// create and set up window
Window basicWindow = new Window();
basicWindow.setHeading("My maximizable, resizable ExtGWT Window");
basicWindow.setClosable(true);
basicWindow.setSize(150, 100);
xWindow.setDraggable(true);
xWindow.setResizable(true);
xWindow.setMaximizable(true);
xWindow.setModal(true);
xWindow.setBlinkModal(true);
 
// prepare content to show
LayoutContainer textPanel = new VerticalPanel();
textPanel.setStyleAttribute("padding", "10px");
textPanel.addText("This is my maximizable, resizable ExtGWT Window ...");
 
// add content and show window
basicWindow.add(textPanel);
basicWindow.show();
}

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.