]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed deadlock on JavaScriptAPIExample, also better documentation.
authorJani Laakso <jani.laakso@itmill.com>
Mon, 11 Feb 2008 13:22:02 +0000 (13:22 +0000)
committerJani Laakso <jani.laakso@itmill.com>
Mon, 11 Feb 2008 13:22:02 +0000 (13:22 +0000)
svn changeset:3765/svn branch:trunk

src/com/itmill/toolkit/demo/featurebrowser/JavaScriptAPIExample.java

index a07700a6ce0412c19ade63338432091da4171cbe..49aac93dedddcb3c3f088fecf152ddacf041bd61 100644 (file)
@@ -59,7 +59,7 @@ public class JavaScriptAPIExample extends CustomComponent {
 \r
         // \r
         Label l = new Label(\r
-                "This label will update it's value AFTER it's rendered to the client. "\r
+                "This label will update it's server-side value AFTER it's rendered to the client-side. "\r
                         + "The client will be synchronized on reload, when you click a button, "\r
                         + "or when itmill.forceSync() is called.") {\r
 \r
@@ -86,7 +86,6 @@ public class JavaScriptAPIExample extends CustomComponent {
             try {\r
                 Thread.sleep(500);\r
                 label.setValue(new Date().toString());\r
-                join();\r
             } catch (Exception e) {\r
                 e.printStackTrace();\r
             }\r