" RootPanel rootPanel = RootPanel.get();",
" }",
"}");
frame.refresh();
// create DeckPanel
DeckPanelInfo newDeckPanel = createJavaInfo("com.google.gwt.user.client.ui.DeckPanel");
frame.command_CREATE2(newDeckPanel, null);
assertEditor(
"public class Test implements EntryPoint {",
" public void onModuleLoad() {",
" RootPanel rootPanel = RootPanel.get();",
" {",
" DeckPanel deckPanel = new DeckPanel();",
" rootPanel.add(deckPanel);",
" }",
" }",
"}");
// create Button
WidgetInfo newButton = createButton();
newDeckPanel.command_CREATE2(newButton, null);
assertEditor(
"public class Test implements EntryPoint {",
" public void onModuleLoad() {",
" RootPanel rootPanel = RootPanel.get();",
" {",