blob: d9bbde52aa2dd6570e6ed874e506bdc45ee7f1db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
package com.vaadin.tests.tickets;
import com.vaadin.server.LegacyApplication;
import com.vaadin.ui.LegacyWindow;
import com.vaadin.ui.RichTextArea;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.Window;
public class Ticket2323 extends LegacyApplication {
@Override
public void init() {
LegacyWindow w = new LegacyWindow(getClass().getSimpleName());
setMainWindow(w);
VerticalLayout layout = new VerticalLayout();
layout.setMargin(true);
Window subWindow = new Window("", layout);
subWindow.setSizeUndefined();
subWindow.getContent().setSizeUndefined();
subWindow.center();
subWindow.setContent(new RichTextArea());
w.addWindow(subWindow);
}
}
|