PDA

View Full Version : [2.0 M1] BorderLayout problem



acabler
29 Apr 2009, 9:30 AM
I posted this in bugs, because I thought it was one, but I was told only "your code has issues" and to come here. I was trying to make some simple test cases to test out the new 2.0 stuff. Can someone please tell me what I'm doing wrong. I simply wanted to show the border layout demo, so I copied it to a class and called it from the code below.

thanks,
adam

public class BorderTest implements EntryPoint{

@Override
public void onModuleLoad() {
Viewport viewport = new Viewport();
viewport.add(new BorderLayoutDemo());
RootPanel.get().add(viewport);

}

}