6162636465666768697071
final LayoutPanel layoutPanel = getLayoutPanel(); layoutPanel.add(widget = createWidget()); layoutPanel.invalidate(widget); DeferredCommand.addCommand(new Command() { public void execute() { layoutPanel.layout(); } }); } }