D
D
daniel_wesson2018-10-07 18:47:10
JavaFX
daniel_wesson, 2018-10-07 18:47:10

How to know the position of a JavaFX window?

I need to know the position of a JavaFX application window, i.e. its coordinates. How can I do that? Moreover, it would be nice if you could get the coordinates at any time during the execution of the program, and not just at startup.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
roswell, 2018-10-07
@daniel_wesson

javafx.stage.Window.getX(),javafx.stage.Window.getY()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question