]> source.dussan.org Git - vaadin-framework.git/commitdiff
setStyle -> addStyleName
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Wed, 28 Nov 2007 07:55:55 +0000 (07:55 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Wed, 28 Nov 2007 07:55:55 +0000 (07:55 +0000)
svn changeset:3008/svn branch:trunk

src/com/itmill/toolkit/demo/BufferedComponents.java

index b2a75e1a16e6d42458d580828d9eb483b4955e5d..8f4a39df5d4945920867f4a480fe3356a8eaa006 100644 (file)
@@ -70,7 +70,7 @@ public class BufferedComponents extends Application {
         // make
         // code changes)
         Button restart = new Button("restart", this, "close");
-        restart.setStyle("link");
+        restart.addStyleName(Button.STYLE_LINK);
         w.addComponent(restart);
     }
 }