private void nextMessage() { if (!messages.isEmpty()) { AbstractNotification message = messages.remove(0); if (ensureControl()) { setTitle(message.getLabel()); setDescription(message.getDescription()); if (message instanceof AbstractUiNotification) { setTitleImage(((AbstractUiNotification) message).getNotificationKindImage()); } setEventId(message.getEventId()); } } }