JavaFX/Webview not loading Stone web viewer

Hi all,

Our team is trying to load the Stone Web Viewer via JavaFX/Webview/WebEngine. The Webview component loads the Orthanic explorer succesfully and allows us to select a patient and the target study. However, the Stone Web Viewer starts to load but does not dispaly the images. The images can be viewed successfully on regular browsers.

We have noticed that Orthanc Web Browser loads the static images successfully. I have attached snapshots of the screens that we are getting.

Can the JavaFX/Webview component work for us that way?

Thank you,

Charles

Snapshots

Stone Web Viewer loads study images from Orthanc server properly on regular browsers

Stone web browser on regular browser.jpg

Orthanc explorer loads successfully on JavaFX/Webview. The patient and studies can be selected

JavaFX Web Viewer orthanc explorer.jpg

Illustration of Orthanc Web Viewer on JavaFX/Webview

JavaFx loads Orthanc Web Viewer.jpg

Below is the snapshot of Stone Web Viewer on JavaFX/Webview

Stone Web Viewer on JavaF Webview.jpg

My Java code:
package com.afrisoftech.pacs;

//import OpenUrlInJFrameAction;
import java.awt.Toolkit;
import java.net.URI;
import java.net.URISyntaxException;
import java.security.GeneralSecurityException;
import javafx.application.Platform;
import javafx.embed.swing.JFXPanel;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.paint.Color;
import javafx.scene.text.Font;
import javafx.scene.text.Text;
import javafx.scene.web.WebView;
import javax.net.ssl.HttpsURLConnection;
import javax.net.ssl.SSLContext;
import javax.net.ssl.TrustManager;
import javax.net.ssl.X509TrustManager;
import javax.swing.JButton;
import static javax.swing.JFrame.EXIT_ON_CLOSE;
import javax.swing.SwingUtilities;

/**

Hello,

From what you describe, it looks like JavaFX/WebView does not support WebAssembly, upon which the Stone Web viewer is built:
https://caniuse.com/wasm

Get in touch with the support team of JavaFX for a confirmation.

Regards,

Sébastien-