" Button button_2 = new Button();",
" add(button_2, 'B', false);",
" }",
" }",
"}");
container.refresh();
WidgetInfo button_1 = getJavaInfoByName("button_1");
WidgetInfo button_2 = getJavaInfoByName("button_2");
// initially "button_1" is active
assertActiveWidget(container, button_1);
// notify about "button_2"