blob: d088b2be2314ed2e99c292db7eeb15bca644cd09 (
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
|
package com.vaadin.tests.tickets;
import com.vaadin.Application;
import com.vaadin.ui.CustomLayout;
import com.vaadin.ui.TabSheet;
import com.vaadin.ui.Window;
public class Ticket1519 extends Application {
@Override
public void init() {
final Window mainWin = new Window("Test app to #1368");
setMainWindow(mainWin);
mainWin.setTheme("example");
TabSheet ts = new TabSheet();
ts.addTab(new CustomLayout("News"), "News", null);
ts.addTab(new CustomLayout("Support"), "Support", null);
mainWin.addComponent(ts);
}
}
|