summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/tickets/Ticket1775.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/com/vaadin/tests/tickets/Ticket1775.java')
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1775.java50
1 files changed, 0 insertions, 50 deletions
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1775.java b/uitest/src/com/vaadin/tests/tickets/Ticket1775.java
deleted file mode 100644
index c6f3e56af4..0000000000
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1775.java
+++ /dev/null
@@ -1,50 +0,0 @@
-package com.vaadin.tests.tickets;
-
-import com.vaadin.ui.Button;
-import com.vaadin.ui.Button.ClickEvent;
-import com.vaadin.ui.CustomLayout;
-import com.vaadin.ui.Label;
-import com.vaadin.ui.LegacyWindow;
-
-public class Ticket1775 extends com.vaadin.server.LegacyApplication {
-
- @Override
- public void init() {
-
- final LegacyWindow main = new LegacyWindow("#1775");
- setMainWindow(main);
- setTheme("tests-tickets");
- String layoutName = "Ticket1775";
- final CustomLayout layout = new CustomLayout(layoutName);
-
- main.addComponent(layout);
-
- Button button2 = new Button("Populate content");
- main.addComponent(button2);
-
- final Button button = new Button("Change content");
- main.addComponent(button);
-
- button2.addListener(new Button.ClickListener() {
-
- @Override
- public void buttonClick(ClickEvent event) {
- Label mainComponent = new Label("Main");
- Label header = new Label("Header");
- final Label anotherComponent = new Label("another");
- layout.addComponent(mainComponent, "body");
- layout.addComponent(header, "loginUser");
- button.addListener(new Button.ClickListener() {
- @Override
- public void buttonClick(Button.ClickEvent event) {
- layout.addComponent(anotherComponent, "body");
- layout.removeComponent("loginUser");
- }
- });
-
- }
- });
-
- }
-
-}