{
final WebNotification notificationPopup = new WebNotification ();
notificationPopup.setIcon ( NotificationIcon.clock );
notificationPopup.setDisplayTime ( 5000 );
final WebClock clock = new WebClock ();
clock.setClockType ( ClockType.timer );
clock.setTimeLeft ( 6000 );
clock.setTimePattern ( "'This notification will close in' ss 'seconds'" );
notificationPopup.setContent ( new GroupPanel ( clock ) );
NotificationManager.showNotification ( notificationPopup );
clock.start ();
}
} );
return new GroupPanel ( 4, false, notification1, notification2 );
}