@@ -0,0 +1,875 @@
+package eu.dzim.tests.fx;%0A%0Aimport javafx.application.Application;%0Aimport javafx.geometry.Pos;%0Aimport javafx.scene.Scene;%0Aimport javafx.scene.control.Label;%0Aimport javafx.scene.layout.HBox;%0Aimport javafx.scene.layout.StackPane;%0Aimport javafx.stage.Stage;%0A%0Apublic class MainCenterStack extends Application %7B%0A%09%0A%09public static void main(String%5B%5D args) %7B%0A%09%09launch(args);%0A%09%7D%0A%09%0A%09@Override%0A%09public void start(Stage stage) throws Exception %7B%0A%09%09Label label = new Label(%22Hallo%22);%0A%09%09// label.getTransforms().add(new Scale(15.50, 15.50));%0A%09%09label.setScaleX(15.5);%0A%09%09label.setScaleY(15.5);%0A%09%09HBox hbox = new HBox();%0A%09%09hbox.setStyle(%22-fx-background-color: orange;%22);%0A%09%09hbox.getChildren().add(label);%0A%09%09hbox.setAlignment(Pos.CENTER);%0A%09%09StackPane root = new StackPane();%0A%09%09root.getChildren().add(hbox);%0A%09%09Scene scene = new Scene(root, 800, 600);%0A%09%09stage.setScene(scene);%0A%09%09stage.show();%0A%09%7D%0A%7D%0A

scale v.s. transform example