--- old/functional/ControlsTests/src/javafx/commons/ControlChooserApp.java 2017-01-31 14:07:36.859545650 +0300 +++ new/functional/ControlsTests/src/javafx/commons/ControlChooserApp.java 2017-01-31 14:07:36.807545141 +0300 @@ -39,9 +39,7 @@ import javafx.scene.control.test.utils.ptables.PropertiesTable; import javafx.scene.layout.HBox; import javafx.scene.layout.Pane; -import javafx.scene.layout.PaneBuilder; import javafx.scene.layout.VBox; -import javafx.scene.layout.VBoxBuilder; import test.javaclient.shared.InteroperabilityApp; import test.javaclient.shared.Utils; @@ -55,9 +53,7 @@ private VBox spaceForNode; private PropertiesTable propertiesTable; - private Pane propertiesPane = PaneBuilder.create() - .style("-fx-border-color:BLUE") - .build(); + private Pane propertiesPane; public static void main(String[] args) { Utils.launch(javafx.commons.ControlChooserApp.class, args); @@ -106,6 +102,9 @@ } private Parent getContent() { + propertiesPane = new Pane(); + propertiesPane.setStyle("-fx-border-color:BLUE"); + spaceForNode = new VBox(10); spaceForNode.setAlignment(Pos.CENTER); spaceForNode.setMinWidth(300); @@ -121,11 +120,8 @@ controls.getChildren().add(createNodeChooser()); controls.setStyle("-fx-border-color:GREEN"); - VBox vBox = VBoxBuilder.create() - .children(spaceForNode, controls) - .spacing(10d) - .build(); - + VBox vBox = new VBox(spaceForNode, controls); + vBox.setSpacing(10d); HBox hBox = new HBox(10); hBox.setAlignment(Pos.TOP_LEFT); hBox.getChildren().addAll(