package moe.tristan.easyfxml.util;

import javafx.application.Platform;
import javafx.scene.Scene;
import javafx.scene.layout.Pane;
import javafx.stage.Stage;
import javafx.stage.StageStyle;

public final class StageUtils {

    private StageUtils() {}

    public static Stage stageOf(final String title, final Pane rootPane) {
        final Stage stage = new Stage(StageStyle.DECORATED);
        stage.setTitle(title);
        stage.setScene(new Scene(rootPane));
        return stage;
    }

    public static void scheduleDisplaying(final Stage stage) {
        Platform.runLater(stage::show);
    }
}

@@ -184,16 +184,57 @@
 eStyle;%0A
+import lombok.extern.slf4j.Slf4j;%0A%0A@Slf4j
 %0Apublic 
@@ -588,24 +588,182 @@
 ge stage) %7B%0A
+        log.debug(%0A                %22Requested displaying of stage %7B%7D with title : %5C%22%7B%7D%5C%22%22,%0A                stage,%0A                stage.getTitle()%0A        );%0A
         Plat

Add some debug logging to StageUtils.