hi guys I am working on GWT and i have something like public class QuickSearch extends Canvas { private HLayout mainBodyLayout = new HLayout(); //the main layout containing other layouts.
//button layout private Layout getButtonLayout() { //here i want to check IF mainBodyLayout already contains getButtonLayout() , if it does not contain only then add it like mainBodyLayout.addMember(getButtonLayout()); Any idea how i can check if getButtonLayout() is already present in mainBodyLayout ? return VLayout; } thanks in advance. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/_Q5wH_Z-1GwJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.