That caught me too when I was trying to have the same instance of image displayed in several table cells. Still do not understand why would parent element first remove reference to the instance before putting it at a different location?
On May 2, 12:33 pm, dduck <[email protected]> wrote: > On 1 Maj, 12:12, hezjing <[email protected]> wrote: > > > It seems that we cannot add a same label more than once. > > Yup. Took me a while to figure out. > > Now I usually use a common interface like this for all my widget- > making code: > > interface WidgetProvider { > Widget createNewWidget(); > > } > > This both ensures that I can introduce on-demand creation of objects > if I need it, and that I can create several instances configured in > identical ways by using this method, provided that it is implemented > in a sensible way. > > Regards, > Anders --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
