summaryrefslogtreecommitdiffstats
path: root/vaadin-app/src/ch
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-09-25 13:20:49 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-09-25 13:20:49 +0200
commitb3ca7c41f01f93418cbd1a3812acce12ce7080d5 (patch)
tree6d6e42272e22bdc6bfa2903bb81f1b65957c388e /vaadin-app/src/ch
parent23501be1977298298642260e2e4d527ad7650605 (diff)
downloadskeletons-b3ca7c41f01f93418cbd1a3812acce12ce7080d5.zip
skeletons-b3ca7c41f01f93418cbd1a3812acce12ce7080d5.tar.gz
vaadim-app: upgrade notification
Diffstat (limited to 'vaadin-app/src/ch')
-rw-r--r--vaadin-app/src/ch/asynk/helloworld/HelloWorldApp.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/vaadin-app/src/ch/asynk/helloworld/HelloWorldApp.java b/vaadin-app/src/ch/asynk/helloworld/HelloWorldApp.java
index c0923f6..e0d0b6b 100644
--- a/vaadin-app/src/ch/asynk/helloworld/HelloWorldApp.java
+++ b/vaadin-app/src/ch/asynk/helloworld/HelloWorldApp.java
@@ -23,7 +23,7 @@ public class HelloWorldApp extends Application {
mainWindow.addComponent( new Button("What is the time?", new Button.ClickListener() {
@Override
public void buttonClick(ClickEvent event) {
- mainWindow.showNotification("The time is " + new Date());
+ mainWindow.showNotification("The time is " + new Date(), "<i>italic</i> <b>bold</b> description",Window.Notification.TYPE_WARNING_MESSAGE);
event.getButton().setComponentError( new UserError("Stop pressing this button !!") );
}
}));