diff options
Diffstat (limited to 'uitest/src/com/vaadin/tests/tickets/Ticket2011.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/tickets/Ticket2011.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2011.java b/uitest/src/com/vaadin/tests/tickets/Ticket2011.java new file mode 100644 index 0000000000..754036cd5b --- /dev/null +++ b/uitest/src/com/vaadin/tests/tickets/Ticket2011.java @@ -0,0 +1,26 @@ +package com.vaadin.tests.tickets; + +import com.vaadin.Application; +import com.vaadin.ui.GridLayout; +import com.vaadin.ui.UI.LegacyWindow; +import com.vaadin.ui.Select; + +public class Ticket2011 extends Application.LegacyApplication { + + @Override + public void init() { + LegacyWindow w = new LegacyWindow(getClass().getName()); + setMainWindow(w); + // setTheme("tests-ticket"); + GridLayout layout = new GridLayout(10, 10); + w.setContent(layout); + createUI(layout); + } + + private void createUI(GridLayout layout) { + Select s = new Select("Select"); + s.addItem("Item 1"); + s.addItem("Item 2"); + layout.addComponent(s); + } +} |