" HorizontalPanel panel = new HorizontalPanel();",
" rootPanel.add(panel);",
" }",
"}");
frame.refresh();
HorizontalPanelInfo panel = (HorizontalPanelInfo) frame.getChildrenWidgets().get(0);
//
WidgetInfo newButton = createButton();
panel.command_CREATE2(newButton, null);
assertEditor(
"public class Test implements EntryPoint {",
" public void onModuleLoad() {",
" RootPanel rootPanel = RootPanel.get();",
" HorizontalPanel panel = new HorizontalPanel();",