Incorrect code fragment in the JavaFX API Specification.
Please, fix the following line in the StackPane doc (http://docs.oracle.com/javafx/2.0/api/javafx/scene/layout/StackPane.html):
stack.getChildren().addAll(new Rectangle(100,100,Color.BLUE, new Label("Go!));
Please, fix the following line in the StackPane doc (http://docs.oracle.com/javafx/2.0/api/javafx/scene/layout/StackPane.html):
stack.getChildren().addAll(new Rectangle(100,100,Color.BLUE, new Label("Go!));