Hi,
public void displayWarning(Window window, String title, String details) {
Window.Notification notification = new Window.Notification(title, details, Window.Notification.TYPE_WARNING_MESSAGE);
notification.setDelayMsec(500);
window.showNotification(notification);
}
HTH,
Cheers,
Charles.