}
});
}
public static void setupStagesClass() {
Pane primarySceneRoot = new AnchorPane();
primaryScene = new Scene(primarySceneRoot, 600, 400);
primaryWindow = new Stage();
primaryWindow.setX(100);
primaryWindow.setY(100);
primaryWindow.setScene(primaryScene);
nodeInsideOfScene = new Rectangle(50, 50, 100, 100);
nodePartyOutsideOfScene = new Rectangle(550, 350, 100, 100);
nodeOutsideOfScene = new Rectangle(1000, 1000, 100, 100);
boundsInsideOfScene = nodeInsideOfScene.getLayoutBounds();
boundsPartyOutsideOfScene = nodePartyOutsideOfScene.getLayoutBounds();
boundsOutsideOfScene = nodeOutsideOfScene.getLayoutBounds();
primarySceneRoot.getChildren().setAll(
nodeInsideOfScene, nodePartyOutsideOfScene, nodeOutsideOfScene
);
primaryWindow.show();
}