×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Matthew Weston
Added: Sep 3, 2017 5:26 PM
Views: 6
Tags: no tags
  1. VBox name = new VBox(20);
  2. name.setAlignment(Pos.CENTER);
  3. name.setStyle("-fx-background-color:;");
  4. name.getChildren().addAll(var1, var2, var3);
  5. scene-name = new Scene(name, 500, 500);
  6.