aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/tickets/Ticket1868.java
blob: ff8c5123393af51dca300b497a1429f023b2083b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.vaadin.tests.tickets;

import com.vaadin.LegacyApplication;
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);
    }
}