package ${package};

import net.java.html.boot.BrowserBuilder;

public final class Main {
    private Main() {
    }

    public static void main(String... args) throws Exception {
        BrowserBuilder.newBrowser().
            loadPage("pages/index.html").
            loadClass(Main.class).
            invoke("onPageLoad", args).
            showAndWait();
        System.exit(0);
    }

    /**
     * Called when the page is ready.
     */
    public static void onPageLoad() throws Exception {
        DataModel.onPageLoad();
    }

}

@@ -166,32 +166,81 @@
 ows Exception %7B%0A
+        System.setProperty(%22prism.order%22, %22sw%22);%0A
         BrowserB

Enforce software renderng pipeline to avoid flickering