看这个代码;
SplitLayoutPanel splitLayoutPanel=new SplitLayoutPanel();
splitLayoutPanel.addWest(new Label("west"), 200);
splitLayoutPanel.add(new Label("center"));
然后
Label myWestLb= (Label)splitLayoutPanel.getWidget(0); //this code is ok, no problem
Label myCentralLb= (Label)splitLayoutPanel.getWidget(1); //this code got error
有谁知道如何获取添加到 SplitLayoutPanel 中心的 Widget?