How to increase delay time of notification message

How can I increase the delay time of Warning notification message.

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.

Thanks!!!