Back to Multiple Choice Quiz
StackPane Layers
Java quiz · Question 61How does a StackPane arrange its children?
Code
1StackPane stack = new StackPane();2stack.getChildren().addAll(3 new Rectangle(200, 200, Color.LIGHTBLUE),4 new Label("Centered Text")5);