I need to get when a button of GUI is clicked, the longitude and latitude of the user.
My desktop application is written in Java, my GUI in JavaFx.
I found not