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