this.middleWidget = middleWidget;
insert(middleWidget, 1);
setCellHorizontalAlignment(this.middleWidget, HorizontalPanel.ALIGN_CENTER);
}
<BUG>public void setRightWidget(Widget rightWidget) {
this.rightWidget.removeFromParent();</BUG>
this.rightWidget = rightWidget;
insert(rightWidget, 2);
setCellHorizontalAlignment(this.rightWidget, HorizontalPanel.ALIGN_RIGHT);
}

this.middleWidget = middleWidget;
insert(middleWidget, 1);
setCellHorizontalAlignment(this.middleWidget, HorizontalPanel.ALIGN_CENTER);
}
public void setRightWidget(Widget rightWidget) {
if(this.rightWidget != null)
this.rightWidget.removeFromParent();
this.rightWidget = rightWidget;
insert(rightWidget, 2);
setCellHorizontalAlignment(this.rightWidget, HorizontalPanel.ALIGN_RIGHT);
