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
Orthanc explorer loads successfully on JavaFX/Webview. The patient and studies can be selected
Illustration of Orthanc Web Viewer on JavaFX/Webview
Below is the snapshot of Stone Web Viewer on JavaFX/Webview
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;
/**