import com.google.gwt.core.client.EntryPoint; import com.google.gwt.user.client.ui.RootPanel; import com.google.gwt.user.client.ui.TabPanel; /** * Entry point classes define onModuleLoad(). */ public class MyAddress implements EntryPoint { /** * This is the entry point method. */ public void onModuleLoad() { TabPanel tp = new TabPanel(); MyAddressRequester myJson = new MyAddressRequester(); tp.add(myJson.initializeMainForm() ,"Lastname"); tp.selectTab(0); RootPanel.get().add(tp); } }