" panel.add(button_3);",
" }",
" }",
"}");
frame.refresh();
StackPanelInfo panel = getJavaInfoByName("panel");
WidgetInfo button_1 = getJavaInfoByName("button_1");
WidgetInfo button_2 = getJavaInfoByName("button_2");
WidgetInfo button_3 = getJavaInfoByName("button_3");
assertTrue(isVisible(button_1));
assertFalse(isVisible(button_2));
assertFalse(isVisible(button_3));
// move "button_3"
panel.command_MOVE2(button_3, button_2);
assertEditor(
"public class Test implements EntryPoint {",
" public void onModuleLoad() {",
" RootPanel rootPanel = RootPanel.get();",
" StackPanel panel = new StackPanel();",