Panel not visible in 6.1.0

Hi,

The following code works with Vaadin 6.0.0, but not 6.1.0. Does anyone know why?


public class TestApplication extends Application {

    private static final long serialVersionUID = 1L;
    Window window;
    
    @Override
    public void init() {
        window = new Window("TestWindow");
        window.addURIHandler(new TestUriHandler());
        setMainWindow(window);
    }
    
    public class TestUriHandler  implements URIHandler {
        @Override
        public DownloadStream handleURI(URL context, String relativeUri) {
            window.setContent(new TestPanel());
            return null;
        }
    }
    
    public class TestPanel extends Panel {
        public TestPanel() {
            addComponent(new Label("Hello World"));
        }
    }
}

Don’t know if this is exactly the output that you wanted but when I posted the code into my 6.1 application I got this result:


http://dl.getdropbox.com/u/1623129/panel.png

Seems fine to me.

That is exactly what I would expect and get with 6.0.0. With 6.1.0 there is just a long white bar in the upper corner of the browser window. The only thing I changed with the project was the vaadin-6.0.0.jar into vaadin-6.1.0.jar available from the download page. Switching between the jars brings back the correct behavior for 6.0.0 and keeps incorrect one for 6.1.0.

I wonder what could be causing this. Other libraries are always possible. Something outside the actual code anyway.

Here’s a
picture
.

And we have a winner.

I decided to RTFM and noticed that GWT was upgraded to 1.7.0 with the Vaadin update. I hope this post at least saves some trouble from others who think they’re too busy to read release notes :*)