StackPane
類似於 FrameLayout
StackPane root = new StackPane();
root.setAlignment(Pos.CENTER);
StackPane.setAlignment(button1, Pos.TOP_LEFT);
StackPane.setAlignment(button2, Pos.TOP_RIGHT);
類似於 FrameLayout
StackPane root = new StackPane();
root.setAlignment(Pos.CENTER);
StackPane.setAlignment(button1, Pos.TOP_LEFT);
StackPane.setAlignment(button2, Pos.TOP_RIGHT);