From b3ca7c41f01f93418cbd1a3812acce12ce7080d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sun, 25 Sep 2011 13:20:49 +0200 Subject: vaadim-app: upgrade notification --- vaadin-app/src/ch/asynk/helloworld/HelloWorldApp.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(), "italic bold description",Window.Notification.TYPE_WARNING_MESSAGE); event.getButton().setComponentError( new UserError("Stop pressing this button !!") ); } })); -- cgit v1.1-2-g2b99