blob: fea7725e6650e1f7546b47e6aae8c0fb94726c37 (
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.LegacyApplication;
import com.vaadin.ui.CustomLayout;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.TabSheet;
public class Ticket1519 extends LegacyApplication {
@Override
public void init() {
final LegacyWindow mainWin = new LegacyWindow("Test app to #1519");
setMainWindow(mainWin);
setTheme("tests-tickets");
TabSheet ts = new TabSheet();
ts.addTab(new CustomLayout("Ticket1519_News"), "News", null);
ts.addTab(new CustomLayout("Ticket1519_Support"), "Support", null);
mainWin.addComponent(ts);
}
}
|