paraTransition.stop(); Region tabsHeader = (Region) tabs.lookup(".tab-header-background"); pane.backgroundProperty().unbind(); tabsHeader.backgroundProperty().unbind(); ((Pane) tabs.lookup(".tab-selected-line")).setBackground(new Background(new BackgroundFill(fontColor,CornerRadii.EMPTY,Insets.EMPTY))); pickerDecorator.lookupAll(".jfx-decorator-button").forEach(button -> { ((JFXButton) button).setRipplerFill(fontColor); CornerRadii.EMPTY, Insets.EMPTY))); ((Region) tabs.lookup(".tab-header-background")).setBackground(new Background(new BackgroundFill( curvedColorPicker.getColor(curvedColorPicker.getSelectedIndex()), CornerRadii.EMPTY, Insets.EMPTY))); Region tabsHeader = (Region) tabs.lookup(".tab-header-background"); pane.backgroundProperty().unbind(); tabsHeader.backgroundProperty().unbind();
paraTransition.stop(); Region tabsHeader = (Region) tabs.lookup(".tab-header-background"); pane.backgroundProperty().unbind(); tabsHeader.backgroundProperty().unbind(); ((Pane) tabs.lookup(".tab-selected-line")).setBackground(new Background(new BackgroundFill(fontColor,CornerRadii.EMPTY,Insets.EMPTY))); pickerDecorator.lookupAll(".jfx-decorator-button").forEach(button -> { ((JFXButton) button).setRipplerFill(fontColor); CornerRadii.EMPTY, Insets.EMPTY))); ((Region) tabs.lookup(".tab-header-background")).setBackground(new Background(new BackgroundFill( curvedColorPicker.getColor(curvedColorPicker.getSelectedIndex()), CornerRadii.EMPTY, Insets.EMPTY))); Region tabsHeader = (Region) tabs.lookup(".tab-header-background"); pane.backgroundProperty().unbind(); tabsHeader.backgroundProperty().unbind();