diff options
author | Henri Sara <henri.sara@itmill.com> | 2009-05-11 09:19:03 +0000 |
---|---|---|
committer | Henri Sara <henri.sara@itmill.com> | 2009-05-11 09:19:03 +0000 |
commit | adc8c0ad3573272c236040c3a76005b9e73a5737 (patch) | |
tree | a3860704dbd5b82dc6af38684b80f8ef79a32722 /src/com/itmill/toolkit/tests/tickets/Ticket1737.java | |
parent | 5abc870dda584d0c2fc47fd5eec4ae3de3fa240e (diff) | |
download | vaadin-framework-adc8c0ad3573272c236040c3a76005b9e73a5737.tar.gz vaadin-framework-adc8c0ad3573272c236040c3a76005b9e73a5737.zip |
#2904: initial bulk rename "com.itmill.toolkit" -> "com.vaadin"
- com.itmill.toolkit.external not yet fully renamed
svn changeset:7715/svn branch:6.0
Diffstat (limited to 'src/com/itmill/toolkit/tests/tickets/Ticket1737.java')
-rw-r--r-- | src/com/itmill/toolkit/tests/tickets/Ticket1737.java | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/src/com/itmill/toolkit/tests/tickets/Ticket1737.java b/src/com/itmill/toolkit/tests/tickets/Ticket1737.java deleted file mode 100644 index ac1ab350f1..0000000000 --- a/src/com/itmill/toolkit/tests/tickets/Ticket1737.java +++ /dev/null @@ -1,52 +0,0 @@ -package com.itmill.toolkit.tests.tickets; - -import com.itmill.toolkit.Application; -import com.itmill.toolkit.demo.Calc; -import com.itmill.toolkit.terminal.ClassResource; -import com.itmill.toolkit.terminal.DownloadStream; -import com.itmill.toolkit.terminal.Resource; -import com.itmill.toolkit.ui.Embedded; -import com.itmill.toolkit.ui.ExpandLayout; -import com.itmill.toolkit.ui.Label; -import com.itmill.toolkit.ui.Panel; -import com.itmill.toolkit.ui.Window; - -public class Ticket1737 extends Application { - - Resource slowRes = new ClassResource(Calc.class, "m-bullet-blue.gif", this) { - @Override - public DownloadStream getStream() { - try { - Thread.sleep(4000); - } catch (InterruptedException e) { - e.printStackTrace(); - } - return super.getStream(); - } - }; - - @Override - public void init() { - - final Window main = new Window(getClass().getName().substring( - getClass().getName().lastIndexOf(".") + 1)); - setMainWindow(main); - - ExpandLayout el = new ExpandLayout(); - main.setLayout(el); - - Panel p = new Panel("Test panel"); - p.setSizeFull(); - - p.addComponent(new Label( - "Second component is embedded with a slow resource " - + "and thus should break layout if Embedded cannot" - + " request re-layout after load.")); - - Embedded em = new Embedded("TestEmbedded", slowRes); - - el.addComponent(p); - el.addComponent(em); - - } -}
\ No newline at end of file |