blob: 776a4aefff78e672d908e1e78f2d97a523e4e61b (
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.server.LegacyApplication;
import com.vaadin.ui.CustomLayout;
import com.vaadin.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);
}
}
|