lHBox.getChildren().add(new Button("old style"));
lHBox.add(new Button("margin 20 nogrow"), new HBox.C().margin(new Insets(20.0)));
lHBox.add(new Button("grow maxheight 50"), new HBox.C().hgrow(Priority.ALWAYS).maxHeight(50.0));
// setup scene
Scene scene = new Scene(lHBox, 800, 200);
// create stage
stage.setTitle(this.getClass().getSimpleName());
stage.setScene(scene);
stage.show();