It would help if you said what 'program don't display corectly' means. What are you expecting? What do you get?
Ian http://examples.roughian.com 2009/4/29 grigoregeorge <[email protected]> > > Why this program don't display corectly.Where is the problem? > > public class Asasaa implements EntryPoint { > > private DockPanel thePanel=new DockPanel(); > > private HorizontalSplitPanel centerPanel=new HorizontalSplitPanel(); > private SimplePanel panel=new SimplePanel(); > > public void onModuleLoad() { > > Tree tree = new Tree(); > TreeItem outerRoot = new TreeItem("Item 1"); > outerRoot.addItem("Item 1-1"); > outerRoot.addItem("Item 1-2"); > outerRoot.addItem("Item 1-3"); > outerRoot.addItem(new CheckBox("Item 1-4")); > tree.addItem(outerRoot); > > TreeItem innerRoot = new TreeItem("Item 1-5"); > innerRoot.addItem("Item 1-5-1"); > innerRoot.addItem("Item 1-5-2"); > innerRoot.addItem("Item 1-5-3"); > innerRoot.addItem("Item 1-5-4"); > innerRoot.addItem(new CheckBox("Item 1-5-5")); > panel.add(tree); > panel.setSize("200px", "200px"); > > centerPanel.setLeftWidget(panel); > centerPanel.setRightWidget(panel); > centerPanel.setSplitPosition("100px"); > thePanel.add(centerPanel,DockPanel.CENTER); > RootPanel.get().add(thePanel); > } > } > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
