package com.vaadin.tests.tickets;

import com.vaadin.ui.Panel;
import com.vaadin.ui.UI.LegacyWindow;

public class Ticket1868 extends com.vaadin.LegacyApplication {

    @Override
    public void init() {

        setMainWindow(new LegacyWindow("#1868"));

        Panel p = new Panel(
                "This is a really long caption for the panel, too long in fact!");
        p.setWidth("300px");
        p.setHeight("300px");

        getMainWindow().addComponent(p);
    }
}