From: Jani Laakso Date: Mon, 11 Feb 2008 13:22:02 +0000 (+0000) Subject: Fixed deadlock on JavaScriptAPIExample, also better documentation. X-Git-Tag: 6.7.0.beta1~5066 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d17b8baa95b3b7116fa2b633795a180c56c45220;p=vaadin-framework.git Fixed deadlock on JavaScriptAPIExample, also better documentation. svn changeset:3765/svn branch:trunk --- diff --git a/src/com/itmill/toolkit/demo/featurebrowser/JavaScriptAPIExample.java b/src/com/itmill/toolkit/demo/featurebrowser/JavaScriptAPIExample.java index a07700a6ce..49aac93ded 100644 --- a/src/com/itmill/toolkit/demo/featurebrowser/JavaScriptAPIExample.java +++ b/src/com/itmill/toolkit/demo/featurebrowser/JavaScriptAPIExample.java @@ -59,7 +59,7 @@ public class JavaScriptAPIExample extends CustomComponent { // Label l = new Label( - "This label will update it's value AFTER it's rendered to the client. " + "This label will update it's server-side value AFTER it's rendered to the client-side. " + "The client will be synchronized on reload, when you click a button, " + "or when itmill.forceSync() is called.") { @@ -86,7 +86,6 @@ public class JavaScriptAPIExample extends CustomComponent { try { Thread.sleep(500); label.setValue(new Date().toString()); - join(); } catch (Exception e) { e.printStackTrace(); }