>> RootPanel.get("stockList").add(mainPanel); // From the javadoc
public static RootPanel <http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/RootPanel.html> *get*(java.lang.String id) Gets the root panel associated with a given browser element. For this to work, the HTML document into which the application is loaded must have specified an element with the given id. *Parameters:*id - the id of the element to be wrapped with a root panel ( null specifies the default instance, which wraps the <body> element)* Returns:**the root panel, or null if no such element was found* Looks like your host html is missing an element with id "stockList", so either add it to your host page or Use the following line, without the id param, RootPanel.get().add(mainPanel); Thanks, -sowdri- -- 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/-/vC7FI6P-tOwJ. 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.