@Override
    public void initialize(URL url, ResourceBundle rb) {
        animator.observe(notificationArea.getChildren());
        
        final ObservableList<Notification> notifications = userInterfaceComponent.notifications();
        
        notifications.addListener((ListChangeListener.Change<? extends Notification> change) -> {
            while (change.next()) {
                if (change.wasAdded()) {
                    change.getAddedSubList().forEach(n -> {
                        NotificationController.showNotification(
                            notificationArea,
                            n.text(),
                            n.icon(),
                            n.palette(),
                            n.onClose()
                        );
                        
                        notifications.remove(n);
                    });
                }
            }
        });
        
        while (!notifications.isEmpty()) {
            final Notification n = notifications.get(0);
            NotificationController.showNotification(
                notificationArea,
                n.text(),
                n.icon(),
                n.palette(),
                n.onClose()
            );
            notifications.remove(0);
        }
    }
Initializes the controller class.

@param url  the url
@param rb   the resource bundle
tool-parent/tool-core/src/main/java/com/speedment/tool/core/internal/controller/NotificationAreaController.java