JavaFx - open window beside main windows
I am using JavaFx and want to open a new window next to the first window like in the picture. I can open a new window, but always on the first. How can i do this?
Parent detailsPanel = FXMLLoader.load(getClass().getResource("/fxml/DetailsPanel.fxml"));
Stage stage = new Stage();
stage.setTitle("Details");
stage.setScene(new Scene(detailsPanel));
stage.setResizable(false);
stage.show();
+3
source to share