Here, check this out. It has source code to get you started as well: http://gwt.google.com/samples/Showcase/Showcase.html#CwStackPanel
You will only need one stack Panel, but have a StackPanel.add() for Name and for Address. For something like Name and Address, StackPanel seems like an odd choice. You may want to look at the rest of the GWT Showcase and see if something better fits what you are looking for. On Mar 18, 8:39 am, Harry <harish1...@gmail.com> wrote: > Hi, > > I need to piece of code with DecoratedStackPanel class instance. I > wanted it to be used for stack panels and few widgets will be under > that. For example: Name, Address are two Stack Panels, > > Name > Text boxes with First name > Text Boxes with last name > > Address > Text boxes for Address 1 > Text Boxes for Address 2, City, State, Pin . > > Should each Stack Panel have a 'public Widget onInitialize()' function > cant we do with 'public void onModuleLoad()' function. > > Please Help, iam new to GWT. > > Thanks in advance. > > Harry. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. 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 -~----------~----~----~----~------~----~------~--~---