Posts by Ailton Francisco da Silva • 61 points
3 posts
-
2
votes1
answer45
viewsA: How to get position(x, y) of lower Node in Borderpane relative to the screen?
I found the answer in Stack in English: Point2D bounds = borderPaneBottom.localToScene(borderPaneBottom.getLayoutBounds().getMinX(), borderPaneBottom.getLayoutBounds().getMinY());…
-
2
votes1
answer45
viewsQ: How to get position(x, y) of lower Node in Borderpane relative to the screen?
I have a Borderpane where you define your bottom value with an Hbox: borderPane.setBottom(new HBox(children)); I would like to know the position (x,y) mainly the y of Hbox in relation to the screen.…
-
2
votes1
answer886
viewsA: Multiple Controllers with Javafx 2, as a reference to each other’s instance
Maybe this helps you, the controller can be created without being directly connected to fxml. This way you can create a constructor and pass as parameter any object it needs. For this in fxml you…