You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using JavaFX (21) webview and want to embed PDF.js in my application to view pdf files.
I did setup a http server to host the files that I want to access. After setting up all properly and verify that all work on the browser, I tried it on the webview.
After some debugging I realise that the problem isn't with my code. A simple example shows that its not working properly.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using JavaFX (21) webview and want to embed PDF.js in my application to view pdf files.
I did setup a http server to host the files that I want to access. After setting up all properly and verify that all work on the browser, I tried it on the webview.
After some debugging I realise that the problem isn't with my code. A simple example shows that its not working properly.
This looks like the javascript didn't load properly, because didn't show the pdf or have any type of interactability on the drop down menus.
If someone knows how to make it work properly on the JavaFX WebView, please explain what I'm doing wrong.
Beta Was this translation helpful? Give feedback.
All reactions