functional/SceneGraphTests/src/test/scenegraph/app/DepthTestScene.java

Print this page

        

@@ -77,12 +77,11 @@
         VBox backFrontRadio = new VBox(1);
         backFrontRadio.getChildren().addAll(oneToFront, anotherToFront);
 
         VBox switchesAndRadios = new VBox(1);
         switchesAndRadios.getChildren().addAll(tuneGrid, backFrontRadio,
-                HBoxBuilder.create().children(indicator, referenceGreen, referenceRed).spacing(10).
-                build(), details);
+                new HBox(10, indicator, referenceGreen, referenceRed), details);
 
         root.setLeft(depthTestGroup);
         root.setRight(switchesAndRadios);
         root.setTop(nodeSwitches);
         setCamera(new PerspectiveCamera());