summaryrefslogtreecommitdiffstats
path: root/vaadin-app/src/ch
diff options
context:
space:
mode:
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 !!") );
}
}));