Am doing a project in JavaFX. Each window of my project has variable sizes. While running the project, the first window appears at the center of the screen. This is the screen shot.
But when I move to next page its size is different and so it appears like -
As you can see this window appeared to the right side of the screen. But I need to display every new window appear at the center of the screen. How can I do it ?