use setWidget(conent) then no need for clear :)