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 […]
Continue reading…

Enjoyed this post? Share it!

 
 

Display basic window using Ext GWT

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

Enjoyed this post? Share it!