/** * @{inheritedDoc} */ @Override protected void process() { super.process(); notificationsStack.setId("root-structure-notifications-stack"); notificationsStack.setStyle("-fx-background-color:rgb(0,0,10,0.10);"); NodeHelper.setHVGrow(notificationsStack); pushedContentWrapper.managedProperty().bind(pushedContentWrapper.visibleProperty()); closePushedContentButton.setOnAction(e-> popContent()); IconUtils.setFontIcon("gmi-close:22", closePushedContentButton); closePushedContentButton.setContentDisplay(ContentDisplay.GRAPHIC_ONLY); // rootStructure.visibleProperty().bind(Bindings.not(pushedContentWrapper.visibleProperty())); //final CompletableFuture buildHeader = CompletableFuture.runAsync(() -> buildHeader(), DesktopApplicationRunner.pool); //final CompletableFuture buildContent = CompletableFuture.runAsync(() -> buildContent(), DesktopApplicationRunner.pool); //CompletableFuture.allOf(buildHeader, buildContent).join(); //CompletableFuture.runAsync(() -> buildPrimaryMenu(), DesktopApplicationRunner.pool); buildHeader(); buildContent(); buildPrimaryMenu(); secondaryRootStructureWrapper.managedProperty().bind(secondaryRootStructureWrapper.visibleProperty()); secondaryRootStructureWrapper.setVisible(false); if(AbstractApplicationRunner.isSimulMobile() || AbstractApplicationRunner.isMobile()) { } if (!headerLess) { // AnchorPane.setTopAnchor(rootStructureWrapper, 88.); } initAnimations(); }