summaryrefslogtreecommitdiffstats
path: root/src/com/itmill
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2007-11-28 07:55:55 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2007-11-28 07:55:55 +0000
commit0b9ee1572b357c1c19945705784737fa5b771aa9 (patch)
treedbce712976773aa4561a55dd605fec34d04ec316 /src/com/itmill
parent8bec62f71f567c931cc44acac3506d1ddb55cea6 (diff)
downloadvaadin-framework-0b9ee1572b357c1c19945705784737fa5b771aa9.tar.gz
vaadin-framework-0b9ee1572b357c1c19945705784737fa5b771aa9.zip
setStyle -> addStyleName
svn changeset:3008/svn branch:trunk
Diffstat (limited to 'src/com/itmill')
-rw-r--r--src/com/itmill/toolkit/demo/BufferedComponents.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/itmill/toolkit/demo/BufferedComponents.java b/src/com/itmill/toolkit/demo/BufferedComponents.java
index b2a75e1a16..8f4a39df5d 100644
--- a/src/com/itmill/toolkit/demo/BufferedComponents.java
+++ b/src/com/itmill/toolkit/demo/BufferedComponents.java
@@ -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);
}
}