diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-09-25 13:20:49 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-09-25 13:20:49 +0200 |
commit | b3ca7c41f01f93418cbd1a3812acce12ce7080d5 (patch) | |
tree | 6d6e42272e22bdc6bfa2903bb81f1b65957c388e | |
parent | 23501be1977298298642260e2e4d527ad7650605 (diff) | |
download | skeletons-b3ca7c41f01f93418cbd1a3812acce12ce7080d5.zip skeletons-b3ca7c41f01f93418cbd1a3812acce12ce7080d5.tar.gz |
vaadim-app: upgrade notification
-rw-r--r-- | vaadin-app/src/ch/asynk/helloworld/HelloWorldApp.java | 2 |
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 !!") ); } })); |