blob: 3d0adb6588580abb2cf7cd4bdd78ab52d0489e66 (
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
27
28
29
30
|
package com.vaadin.tests.tickets;
import com.vaadin.server.LegacyApplication;
import com.vaadin.ui.GridLayout;
import com.vaadin.ui.Label;
import com.vaadin.ui.LegacyWindow;
public class Ticket1972 extends LegacyApplication {
@Override
public void init() {
LegacyWindow w = new LegacyWindow(getClass().getName());
setMainWindow(w);
setTheme("tests-ticket");
GridLayout layout = new GridLayout(3, 3);
layout.setStyleName("borders");
layout.addComponent(new Label("1-1"));
layout.space();
layout.space();
layout.addComponent(new Label("2-1"));
layout.space();
layout.space();
layout.addComponent(new Label("3-1"));
layout.space();
layout.addComponent(new Label("3-3"));
w.setContent(layout);
}
}
|