expandButton.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
expandButton.setDisabled(true);
flow.animateResize(310,45, new AnimationCallback() {
public void execute(boolean earlyFinish) {
flow.animateResize(310,195);
}
});
collapseButton.setDisabled(false);