5556575859606162636465
recentFiles = configData.getRecentFiles(); actionFactory = new ActionFactory(this); desktop = new DesktopPanel(); menu = new Menu(desktop, this); setJMenuBar(menu); setTitle(Constants.APP_NAME);
1920212223242526272829
import org.gwt.mosaic.ui.client.WindowPanel; public class UIUtils { public static WindowPanel createWindow(String title) { return new WindowPanel(new DesktopPanel() { @Override public void makeDraggable(WindowPanel w) { //do nothing to avoid gwt-dnd issue 43 } }, title, false, true);